mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
add checksum based status check, alternative to timestamp based
This commit is contained in:
2
testdata/checksum/.gitignore
vendored
Normal file
2
testdata/checksum/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.task/
|
||||
generated.txt
|
8
testdata/checksum/Taskfile.yml
vendored
Normal file
8
testdata/checksum/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
build:
|
||||
cmds:
|
||||
- cp ./source.txt ./generated.txt
|
||||
sources:
|
||||
- ./source.txt
|
||||
generates:
|
||||
- ./generated.txt
|
||||
method: checksum
|
1
testdata/checksum/source.txt
vendored
Normal file
1
testdata/checksum/source.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Hello, World!
|
Reference in New Issue
Block a user