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

Possibility to call another task

This commit is contained in:
Andrey Nering
2017-03-25 15:26:42 -03:00
parent 0db3e9a05d
commit 59306cda38
5 changed files with 87 additions and 5 deletions

1
testdata/task_call/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.txt

20
testdata/task_call/Taskfile.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
default:
cmds:
- ^set-foo
- ^print
- ^set-bar
- ^print
print:
cmds:
- echo text > {{.FILE}}
set-foo:
set: FILE
cmds:
- echo foo.txt
set-bar:
set: FILE
cmds:
- echo bar.txt