1
0
mirror of https://github.com/go-task/task.git synced 2025-02-03 13:22:11 +02:00

Added explantation to README

This commit is contained in:
Sascha Andres 2017-03-02 19:54:45 +01:00
parent ea2e86e398
commit 67e5c1eaf3

View File

@ -73,6 +73,19 @@ css:
- npm run buildcss
```
Each task can only be run once. If it is included from another dependend task causing
a cyclomatic dependency, execution will be stopped.
```yml
task1:
deps: [task2]
task2:
deps: [task1]
```
Will stop at the moment the dependencies of `task2` are executed.
### Prevent task from running when not necessary
If a task generates something, you can inform Task the source and generated