mirror of
https://github.com/go-task/task.git
synced 2026-06-15 11:51:41 +00:00
$ prefix still works but is now deprecated
before:
VAR: $echo var
after:
VAR:
sh: echo bar
closes #46
24 lines
401 B
YAML
24 lines
401 B
YAML
default:
|
|
deps: [hello]
|
|
|
|
hello:
|
|
deps: [set-equal]
|
|
cmds:
|
|
- echo {{.FOO}} > foo.txt
|
|
- echo {{.BAR}} > bar.txt
|
|
- echo {{.BAZ}} > baz.txt
|
|
- echo {{.FOO2}} > foo2.txt
|
|
- echo {{.BAR2}} > bar2.txt
|
|
- echo {{.BAZ2}} > baz2.txt
|
|
- echo {{.EQUAL}} > equal.txt
|
|
vars:
|
|
FOO: foo
|
|
BAR: $echo bar
|
|
BAZ:
|
|
sh: echo baz
|
|
|
|
set-equal:
|
|
set: EQUAL
|
|
cmds:
|
|
- echo foo=bar
|