mirror of https://github.com/sbt/sbt.git
Docs: present the TaskInputs page as motivation and for deeper understanding
This commit is contained in:
parent
b051d1e2c3
commit
6113f55101
|
|
@ -1,22 +1,18 @@
|
||||||
========================
|
==========================
|
||||||
Task Inputs/Dependencies
|
Tasks/Settings: Motivation
|
||||||
========================
|
==========================
|
||||||
|
|
||||||
Tasks with dependencies are now introduced in the
|
This page motivates the task and settings system.
|
||||||
:doc:`getting started guide </Getting-Started/More-About-Settings>`,
|
You should already know how to use tasks and settings, which are
|
||||||
which you may wish to read first. This older page may have some additional detail.
|
described in the :doc:`getting started guide </Getting-Started/More-About-Settings>`
|
||||||
|
and on the :doc:`Tasks` page.
|
||||||
|
|
||||||
*Wiki Maintenance Note:* This page should have its overlap with the
|
An important aspect of the task system is to combine two common, related steps in a build:
|
||||||
getting started guide cleaned up, and just have any advanced or
|
|
||||||
additional notes. It should maybe also be consolidated with :doc:`Tasks`.
|
|
||||||
|
|
||||||
An important aspect of the task system introduced in sbt 0.10 is to
|
|
||||||
combine two common, related steps in a build:
|
|
||||||
|
|
||||||
1. Ensure some other task is performed.
|
1. Ensure some other task is performed.
|
||||||
2. Use some result from that task.
|
2. Use some result from that task.
|
||||||
|
|
||||||
Previous versions of sbt configured these steps separately using
|
Earlier versions of sbt configured these steps separately using
|
||||||
|
|
||||||
1. Dependency declarations
|
1. Dependency declarations
|
||||||
2. Some form of shared state
|
2. Some form of shared state
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue