-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit b6513b2
Configure task dependencies to avoid redundant execution
The "Task" task runner tool is used to perform common development operations for the project.
Tasks may call other tasks. Under certain conditions (most commonly when running a convenience "umbrella" which calls
all tasks of a general type), this can result in the same task being called redundantly, which is inefficient. Worse,
since task calls specified via the `deps` mapping of a task definition are executed concurrently, the multiple
executions can conflict with each other and cause problems such as a spurious failure.
This can be avoided by configuring tasks which may be called multiple times, and for which it never makes sense to
execute multiple times with the same conditions, so that all but the first call will be ignored.1 parent 46e1cd4 commit b6513b2
1 file changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
182 | + | ||
182 | 183 |
| |
183 | 184 |
| |
184 | 185 |
| |
| |||
495 | 496 |
| |
496 | 497 |
| |
497 | 498 |
| |
499 | + | ||
498 | 500 |
| |
499 | 501 |
| |
500 | 502 |
| |
|
0 commit comments