mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
fix: include flatten with a default task (#1778)
This commit is contained in:
3
testdata/includes_flatten/Taskfile.with_default.yml
vendored
Normal file
3
testdata/includes_flatten/Taskfile.with_default.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
version: '3'
|
||||
tasks:
|
||||
default: echo "default from included flatten"
|
||||
8
testdata/includes_flatten/Taskfile.yml
vendored
8
testdata/includes_flatten/Taskfile.yml
vendored
@@ -5,9 +5,11 @@ includes:
|
||||
taskfile: ./included
|
||||
dir: ./included
|
||||
flatten: true
|
||||
with_default:
|
||||
taskfile: ./Taskfile.with_default.yml
|
||||
flatten: true
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- echo root_directory > root_directory.txt
|
||||
from_entrypoint: echo "from entrypoint"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user