From a04cf100b4bc27d885fdd0b1fe1703279459df29 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 5 Aug 2018 13:01:30 -0300 Subject: [PATCH] Improve README a bit --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2bbd19a..46d76157 100644 --- a/README.md +++ b/README.md @@ -655,8 +655,8 @@ tasks: - echo "Hello World" ``` -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`: +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_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