1
0
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:
Valentin Maerten
2024-09-06 15:44:28 +02:00
committed by GitHub
parent dd9cec611a
commit 0e2c9cc88f
4 changed files with 12 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
version: '3'
tasks:
default: echo "default from included flatten"

View File

@@ -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"