Skip to content

Commit

Permalink
task/abort_on_error: Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tonobo committed Mar 27, 2019
1 parent 8358b95 commit 748da0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,12 @@ tasks:
for all commands. But keep in mind this option won't propagate to other tasks
called either by `deps` or `cmds`!

> Sometimes it might happen that you want to ignore the errors to
> not fail the whole task run, but skip further steps.
> You could do this by adding `abort_on_error: true` at task level.
> A real world example could be a guard clause to prevent some cmds from execution
> in different environments.

## Output syntax

By default, Task just redirect the STDOUT and STDERR of the running commands
Expand Down

0 comments on commit 748da0a

Please sign in to comment.