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