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:
15
testdata/precondition/Taskfile.yml
vendored
15
testdata/precondition/Taskfile.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user