mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
for task up to date check both status and sources (#1035)
* remove redundant if statement * add subtests to TestStatusChecksum
This commit is contained in:
9
testdata/checksum/Taskfile.yml
vendored
9
testdata/checksum/Taskfile.yml
vendored
@@ -10,3 +10,12 @@ tasks:
|
||||
generates:
|
||||
- ./generated.txt
|
||||
method: checksum
|
||||
|
||||
build-with-status:
|
||||
cmds:
|
||||
- cp ./source.txt ./generated.txt
|
||||
sources:
|
||||
- ./source.txt
|
||||
status:
|
||||
- test -f ./generated.txt
|
||||
|
||||
|
Reference in New Issue
Block a user