## # This example contains failing tasks (code != 0) # # Scenarios # - When running normally with `fzz` it will execute all tasks # and report the failings # # - When running with `fzz --fail-fast` it exits once the first task fails. # The execution sequence is top to down and left to right # - name: run a list of watches run: "echo complex | sed s/complex/third/g" change: - "src/**" - "tests/**" - "examples/workdir/*.txt" ignore: "examples/workdir/ignored/**/*.txt" run_on_init: true - name: tasks with errors run: - 'echo before' - 'exit 1' - 'cat foo/bar/baz' - 'exit 125' - 'echo after' change: "examples/workdir/*.txt" ignore: "examples/workdir/ignored/**/*.txt" - name: run another task with error run: 'cat baz/bar/foo' change: "examples/workdir/*.txt" ignore: "examples/workdir/ignored/**/*.txt" run_on_init: true - name: run finally run: 'echo finally' change: "examples/workdir/*.txt" ignore: "examples/workdir/ignored/**/*.txt" run_on_init: true