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:
20
testdata/params/Taskfile.yml
vendored
20
testdata/params/Taskfile.yml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user