1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

add ignoreError option

This commit is contained in:
Tobias Salzmann
2018-07-10 10:44:58 +02:00
parent c541356289
commit 05600601ff
7 changed files with 113 additions and 37 deletions

15
testdata/ignore_errors/Taskfile.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
CmdShouldPass:
cmds:
- cmd: UnknownCommandThatNeverWillExist
ignoreError: true
CmdShouldFail:
cmds:
- cmd: UnknownCommandThatNeverWillExist
TaskShouldPass:
cmds:
- task: CmdShouldFail
ignoreError: true
TaskShouldFail:
cmds:
- task: CmdShouldFail