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

Improve README a bit

This commit is contained in:
Andrey Nering
2018-08-05 13:01:30 -03:00
parent 76253bf516
commit a04cf100b4

View File

@@ -656,7 +656,7 @@ tasks:
```
Task will abort the execution after running `exit 1` because the status code `1` stands for `EXIT_FAILURE`.
However it is possible to continue with execution using `ignore_errors`:
However it is possible to continue with execution using `ignore_error`:
```yml
version: '2'
@@ -665,10 +665,14 @@ tasks:
echo:
cmds:
- cmd: exit 1
ignore_errors: true
ignore_error: true
- echo "Hello World"
```
`ignore_error` can also be set for a task, which mean errors will be supressed
for all commands. But keep in mind this option won't propagate to other tasks
called either by `deps` or `cmds`!
## Output syntax
By default, Task just redirect the STDOUT and STDERR of the running commands