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

IgnoreError

* Document ignore_error
* ignore_error only for commands
This commit is contained in:
Tobias Salzmann
2018-08-01 10:44:53 +02:00
parent 05600601ff
commit 108cb91d95
6 changed files with 55 additions and 56 deletions

View File

@@ -1,15 +1,11 @@
CmdShouldPass:
cmds:
- cmd: UnknownCommandThatNeverWillExist
ignoreError: true
CmdShouldFail:
cmds:
- cmd: UnknownCommandThatNeverWillExist
version: 2
TaskShouldPass:
cmds:
- task: CmdShouldFail
ignoreError: true
TaskShouldFail:
cmds:
- task: CmdShouldFail
tasks:
cmd-should-pass:
cmds:
- cmd: exit 1
ignore_error: true
cmd-should-fail:
cmds:
- cmd: exit 1