mirror of
https://github.com/go-task/task.git
synced 2025-08-08 22:36:57 +02:00
feat: run default task in included file when task is omitted
This commit is contained in:
5
testdata/includes_unshadowed_default/Taskfile.yml
vendored
Normal file
5
testdata/includes_unshadowed_default/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
included:
|
||||
taskfile: Taskfile2.yml
|
6
testdata/includes_unshadowed_default/Taskfile2.yml
vendored
Normal file
6
testdata/includes_unshadowed_default/Taskfile2.yml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- echo "included" > file.txt
|
1
testdata/includes_unshadowed_default/file.txt
vendored
Normal file
1
testdata/includes_unshadowed_default/file.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
included
|
Reference in New Issue
Block a user