1
0
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:
Valentin Maerten
2024-12-30 10:09:28 +01:00
committed by GitHub
parent 9727eef476
commit 5f1d46c770
8 changed files with 120 additions and 11 deletions

View 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

View File

@ -0,0 +1,5 @@
version: '3'
tasks:
foo: echo foo
bar: echo bar