mirror of
https://github.com/go-task/task.git
synced 2025-06-23 00:38:19 +02:00
feat: can exclude task from being included (#1859)
This commit is contained in:
17
testdata/includes_with_excludes/Taskfile.yml
vendored
Normal file
17
testdata/includes_with_excludes/Taskfile.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
version: '3'
|
||||
|
||||
includes:
|
||||
included:
|
||||
taskfile: ./included/Taskfile.yml
|
||||
excludes:
|
||||
- foo
|
||||
included_flatten:
|
||||
taskfile: ./included/Taskfile.yml
|
||||
flatten: true
|
||||
excludes:
|
||||
- bar
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- echo "called_dep" > called_dep.txt
|
5
testdata/includes_with_excludes/included/Taskfile.yml
vendored
Normal file
5
testdata/includes_with_excludes/included/Taskfile.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
foo: echo foo
|
||||
bar: echo bar
|
Reference in New Issue
Block a user