mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
ec35d43677
Co-authored-by: Andrey Nering <andrey@nering.com.br>
23 lines
428 B
YAML
23 lines
428 B
YAML
version: '3'
|
|
|
|
tasks:
|
|
build:
|
|
cmds:
|
|
- cp ./source.txt ./generated.txt
|
|
sources:
|
|
- ./**/glob-with-inexistent-file.txt
|
|
- ./*.txt
|
|
- exclude: ./ignore_me.txt
|
|
- exclude: ./generated.txt
|
|
generates:
|
|
- ./generated.txt
|
|
method: checksum
|
|
|
|
build-with-status:
|
|
cmds:
|
|
- cp ./source.txt ./generated.txt
|
|
sources:
|
|
- ./source.txt
|
|
status:
|
|
- test -f ./generated.txt
|