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

Fix issue on running dependencies or tasks on included Taskfiles

Fixes #151
This commit is contained in:
Andrey Nering
2018-12-09 15:54:58 -02:00
parent a9b1f38a7c
commit 95b75c5330
5 changed files with 53 additions and 0 deletions

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

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

9
testdata/includes_deps/Taskfile.yml vendored Normal file
View File

@@ -0,0 +1,9 @@
version: '2'
includes:
included: Taskfile2.yml
tasks:
default:
cmds:
- task: included:default

16
testdata/includes_deps/Taskfile2.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
version: '2'
tasks:
default:
deps: [called_dep]
cmds:
- echo "default" > default.txt
- task: called_task
called_dep:
cmds:
- echo "called_dep" > called_dep.txt
called_task:
cmds:
- echo "called_task" > called_task.txt