1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

rename Cmd.Params to Cmd.Vars

This commit is contained in:
Andrey Nering
2017-07-05 20:07:24 -03:00
parent e1fc3aa4fb
commit 06d80e92eb
5 changed files with 60 additions and 69 deletions

View File

@@ -1,26 +1,16 @@
default:
deps:
- task: write-file
params:
CONTENT: Dependence1
FILE: dep1.txt
vars: {CONTENT: Dependence1, FILE: dep1.txt}
- task: write-file
params:
CONTENT: Dependence2
FILE: dep2.txt
vars: {CONTENT: Dependence2, FILE: dep2.txt}
cmds:
- task: write-file
params:
CONTENT: Hello
FILE: hello.txt
vars: {CONTENT: Hello, FILE: hello.txt}
- task: write-file
params:
CONTENT: World
FILE: world.txt
vars: {CONTENT: World, FILE: world.txt}
- task: write-file
params:
CONTENT: "!"
FILE: exclamation.txt
vars: {CONTENT: "!", FILE: exclamation.txt}
write-file:
cmds: