1
0
mirror of https://github.com/go-task/task.git synced 2025-01-10 04:18:53 +02:00
task/testdata/vars/Taskfile.yml

24 lines
401 B
YAML
Raw Normal View History

2017-03-25 15:51:30 +02:00
default:
deps: [hello]
hello:
deps: [set-equal]
2017-03-25 15:51:30 +02:00
cmds:
- echo {{.FOO}} > foo.txt
- echo {{.BAR}} > bar.txt
- echo {{.BAZ}} > baz.txt
2017-03-25 15:51:30 +02:00
- echo {{.FOO2}} > foo2.txt
- echo {{.BAR2}} > bar2.txt
- echo {{.BAZ2}} > baz2.txt
- echo {{.EQUAL}} > equal.txt
2017-03-25 15:51:30 +02:00
vars:
FOO: foo
BAR: $echo bar
BAZ:
sh: echo baz
set-equal:
set: EQUAL
cmds:
- echo foo=bar