1
0
mirror of https://github.com/go-task/task.git synced 2025-03-03 14:52:13 +02:00
task/testdata/params/Taskfile.yml

18 lines
451 B
YAML
Raw Normal View History

2017-07-02 15:30:50 -03:00
default:
deps:
- task: write-file
2017-07-05 20:07:24 -03:00
vars: {CONTENT: Dependence1, FILE: dep1.txt}
2017-07-02 15:30:50 -03:00
- task: write-file
2017-07-05 20:07:24 -03:00
vars: {CONTENT: Dependence2, FILE: dep2.txt}
2017-07-02 15:30:50 -03:00
cmds:
- task: write-file
2017-07-05 20:07:24 -03:00
vars: {CONTENT: Hello, FILE: hello.txt}
2017-07-02 15:30:50 -03:00
- task: write-file
2017-07-05 20:12:40 -03:00
vars: {CONTENT: "$echo 'World'", FILE: world.txt}
2017-07-02 15:30:50 -03:00
- task: write-file
2017-07-05 20:07:24 -03:00
vars: {CONTENT: "!", FILE: exclamation.txt}
2017-07-02 15:30:50 -03:00
write-file:
cmds:
- echo {{.CONTENT}} > {{.FILE}}