mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
fix(checker): use only one checker at the same time to improve perf (#2031)
* fix(checker): use only one checker at the same time to improve performance * refactor * fix test
This commit is contained in:
12
testdata/cmds_vars/Taskfile.yml
vendored
12
testdata/cmds_vars/Taskfile.yml
vendored
@@ -1,10 +1,16 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
build:
|
||||
build-checksum:
|
||||
sources:
|
||||
- ./source.txt
|
||||
cmds:
|
||||
- echo "{{.CHECKSUM}}"
|
||||
- echo "{{.TIMESTAMP.Unix}}"
|
||||
- echo "{{.TIMESTAMP}}"
|
||||
|
||||
build-ts:
|
||||
method: timestamp
|
||||
sources:
|
||||
- ./source.txt
|
||||
cmds:
|
||||
- echo '{{.TIMESTAMP.Unix}}'
|
||||
- echo '{{.TIMESTAMP}}'
|
||||
|
Reference in New Issue
Block a user