mirror of
https://github.com/go-task/task.git
synced 2026-06-23 12:45:52 +00:00
feat: add option to declare an included Taskfile as flatten (#1704)
This commit is contained in:
23
testdata/includes_flatten/included/Taskfile.yml
vendored
Normal file
23
testdata/includes_flatten/included/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
nested:
|
||||
taskfile: ../nested
|
||||
flatten: true
|
||||
|
||||
tasks:
|
||||
gen:
|
||||
cmds:
|
||||
- echo "gen from included"
|
||||
|
||||
with_deps:
|
||||
deps:
|
||||
- gen
|
||||
cmds:
|
||||
- echo "with_deps from included"
|
||||
|
||||
|
||||
pwd:
|
||||
desc: Print working directory
|
||||
cmds:
|
||||
- pwd
|
||||
Reference in New Issue
Block a user