1
0
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:
Harel Wahnich
2023-03-06 08:16:41 +02:00
committed by GitHub
parent d4ed7c3cfc
commit 99ab2a4d62
3 changed files with 49 additions and 32 deletions

View File

@@ -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