mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
28 lines
516 B
YAML
28 lines
516 B
YAML
default:
|
|
deps:
|
|
- task: write-file
|
|
params:
|
|
CONTENT: Dependence1
|
|
FILE: dep1.txt
|
|
- task: write-file
|
|
params:
|
|
CONTENT: Dependence2
|
|
FILE: dep2.txt
|
|
cmds:
|
|
- task: write-file
|
|
params:
|
|
CONTENT: Hello
|
|
FILE: hello.txt
|
|
- task: write-file
|
|
params:
|
|
CONTENT: World
|
|
FILE: world.txt
|
|
- task: write-file
|
|
params:
|
|
CONTENT: "!"
|
|
FILE: exclamation.txt
|
|
|
|
write-file:
|
|
cmds:
|
|
- echo {{.CONTENT}} > {{.FILE}}
|