1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 12:07:10 -07:00

Clarify dependencies.

This commit is contained in:
Cedric Beust 2016-06-15 01:03:07 -08:00
parent 9c00f7eaca
commit d12d7f91e9

View file

@ -474,9 +474,8 @@ The <code>@Task</code> annotation accepts the following attributes:
</p>
<p>
Orderings, controlled by <code>"runBefore"</code> and <code>"runAfter"</code> merely specify an ordering
but do not pull new tasks in. This is how you tell Kobalt "In case task X is run, run my task before it
(or after)". But if task X doesn't run, your task will not be run either (unless it's explicitly requested
by the user).
but do not pull new tasks in. This is how you tell Kobalt "In case task the user asks for my task to run,
here is when it should be invoked", but your task will run only if it's explicitly invoked by the user.
</p>
<p>
Here are a few different scenarios to illustrate how the three attributes work for the task <code>example</code>: