1
0
mirror of https://github.com/go-task/task.git synced 2025-11-06 09:09:13 +02:00

Remove ignore_errors

This commit is contained in:
Stephen Prater
2019-05-28 13:02:59 -07:00
parent 659cae6a4c
commit 044d3a0ff9
7 changed files with 39 additions and 95 deletions

View File

@@ -2,20 +2,14 @@ version: '2'
tasks:
foo:
precondition:
preconditions:
- test -f foo.txt
impossible:
precondition:
preconditions:
- sh: "[ 1 = 0 ]"
msg: "1 != 0"
impossible_but_i_dont_care:
precondition:
- sh: "[ 2 = 1 ]"
msg: "2 != 1"
ignore_error: true
depends_on_imposssible:
deps:
- impossible
@@ -27,8 +21,3 @@ tasks:
depends_on_failure_of_impossible:
deps:
- impossible_but_i_dont_care
executes_failing_task_as_cmd_but_succeeds:
cmds:
- task: impossible_but_i_dont_care