mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Bugfix: allow templating when calling deps
Fixes issue #42 by allowing for template evaluatation on task override variables when the task is launched as dependency.
This commit is contained in:
2
testdata/params/Taskfile.yml
vendored
2
testdata/params/Taskfile.yml
vendored
@@ -6,6 +6,8 @@ default:
|
||||
vars: {CONTENT: Dependence1, FILE: dep1.txt}
|
||||
- task: write-file
|
||||
vars: {CONTENT: Dependence2, FILE: dep2.txt}
|
||||
- task: write-file
|
||||
vars: {CONTENT: "{{.SPANISH|replace \"mundo\" \"dependencia\"}}", FILE: spanish-dep.txt}
|
||||
cmds:
|
||||
- task: write-file
|
||||
vars: {CONTENT: Hello, FILE: hello.txt}
|
||||
|
Reference in New Issue
Block a user