Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion lib/mix/lib/mix/tasks/do.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ defmodule Mix.Tasks.Do do
@shortdoc "Executes the tasks separated by plus"

@moduledoc """
Executes the tasks separated by `+`:
Executes the tasks separated by `+`, aborting if any task errors.

Here is an example:

$ mix do compile --list + deps

Expand Down Expand Up @@ -41,6 +43,16 @@ defmodule Mix.Tasks.Do do
Since then, the `+` operator has been introduced as a
separator for better support on Windows terminals.

## Error handling

If any task in the list of tasks exits with an error,
no subsequent tasks will be run. For instance:

$ mix do compile + test

If the compilation step fails, the tests will not be
attempted.

## Command line options

* `--app` - limit recursive tasks to the given apps.
Expand Down