Merge pull request #477 from mrngsht/sources_evaluation

Evaluate sources also if status is up-to-date
This commit is contained in:
Andrey Nering
2021-07-10 21:54:47 -03:00
committed by GitHub
3 changed files with 67 additions and 16 deletions

View File

@@ -4,5 +4,15 @@ tasks:
gen-foo:
cmds:
- touch foo.txt
sources:
- ./foo.txt
status:
- test -f foo.txt
- test 1 = 0
gen-bar:
cmds:
- touch bar.txt
sources:
- ./bar.txt
status:
- test 1 = 1