mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Few code improvements on #216
This commit is contained in:
1
testdata/status_vars/.gitignore
vendored
Normal file
1
testdata/status_vars/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
generated.txt
|
17
testdata/status_vars/Taskfile.yml
vendored
Normal file
17
testdata/status_vars/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
build-with-checksum:
|
||||
sources:
|
||||
- ./source.txt
|
||||
method: checksum
|
||||
status:
|
||||
- echo "{{.CHECKSUM}}"
|
||||
|
||||
build-with-timestamp:
|
||||
sources:
|
||||
- ./source.txt
|
||||
method: timestamp
|
||||
status:
|
||||
- echo '{{.TIMESTAMP.Unix}}'
|
||||
- echo '{{.TIMESTAMP}}'
|
1
testdata/status_vars/source.txt
vendored
Normal file
1
testdata/status_vars/source.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Hello, World!
|
Reference in New Issue
Block a user