File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ defmodule Mix.Tasks.Do do
44 @ shortdoc "Executes the tasks separated by plus"
55
66 @ moduledoc """
7- Executes the tasks separated by `+`:
7+ Executes the tasks separated by `+`, aborting if any task errors.
8+
9+ Here is an example:
810
911 $ mix do compile --list + deps
1012
@@ -41,6 +43,16 @@ defmodule Mix.Tasks.Do do
4143 Since then, the `+` operator has been introduced as a
4244 separator for better support on Windows terminals.
4345
46+ ## Error handling
47+
48+ If any task in the list of tasks exits with an error,
49+ no subsequent tasks will be run. For instance:
50+
51+ $ mix do compile + test
52+
53+ If the compilation step fails, the tests will not be
54+ attempted.
55+
4456 ## Command line options
4557
4658 * `--app` - limit recursive tasks to the given apps.
You can’t perform that action at this time.
0 commit comments