mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
feat: make it possible to silence dependencies (#680)
This commit is contained in:
committed by
Andrey Nering
parent
9a406f5998
commit
8bc98fedbf
21
testdata/silent/Taskfile.yml
vendored
21
testdata/silent/Taskfile.yml
vendored
@@ -48,3 +48,24 @@ tasks:
|
||||
cmds:
|
||||
- cmd: exit 0
|
||||
silent: true
|
||||
|
||||
# Now test with dependencies.
|
||||
task-test-is-silent-depends-on-chatty-non-silenced:
|
||||
silent: true
|
||||
deps: [chatty, silent]
|
||||
|
||||
task-test-is-silent-depends-on-chatty-silenced:
|
||||
silent: true
|
||||
deps:
|
||||
- task: chatty
|
||||
silent: true
|
||||
- task: silent
|
||||
silent: false
|
||||
|
||||
task-test-is-chatty-depends-on-chatty-silenced:
|
||||
silent: false
|
||||
deps:
|
||||
- task: chatty
|
||||
silent: true
|
||||
- task: silent
|
||||
silent: false
|
||||
|
Reference in New Issue
Block a user