Files
go-task/testdata/params/Taskfile.yml
2017-07-03 21:04:38 -03:00

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}}