Evaluate sources also if status is up-to-date

This commit is contained in:
mrngsht
2021-04-20 22:04:21 +09:00
parent 0ae1681d9c
commit 58c69e36a1
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