1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

Fix bug in includes where default taskfiles were not being checked.

This commit is contained in:
tylermmorton
2022-02-21 15:31:55 -05:00
parent 7cdf0000d9
commit 1f1275255c
9 changed files with 28 additions and 9 deletions

View File

@@ -1,9 +1,11 @@
version: '3'
includes:
'one': ./one/Taskfile.yml
'one': ./one/
tasks:
default:
cmds:
- task: one:default
- task: one:two:default
- task: one:two:three:default

View File

@@ -0,0 +1 @@
one

View File

@@ -0,0 +1 @@
three

View File

@@ -0,0 +1 @@
two

View File

@@ -1,9 +1,7 @@
version: '3'
includes:
'two': ./two/Taskfile.yml
'two': ./two/
tasks:
level1:
cmds:
- echo "hello level 1"
default: echo one > called_one.txt

View File

@@ -1,6 +1,7 @@
version: '3'
includes:
'three': ./three/Taskfile.yml
tasks:
default:
cmds:
- echo "called_dep" > called_dep.txt
default: echo two > called_two.txt

View File

@@ -0,0 +1,4 @@
version: '3'
tasks:
default: echo three > called_three.txt