View Source mix do (Mix v1.14.2)
Executes the tasks separated by +:
mix do compile --list + depsThe plus should be followed by at least one space before and after.
Examples
The example below prints the available compilers and then the list of dependencies.
mix do compile --list + depsNote that the majority of Mix tasks are only executed once per invocation. So for example, the following command will only compile once:
mix do compile + some_other_command + compileWhen compile is executed again, Mix will notice the task
has already ran, and skip it.
Inside umbrella projects, you can limit recursive tasks
(the ones that run inside every app) by selecting the
desired application via the --app flag after do and
before the first task:
mix do --app app1 --app app2 compile --list + depsElixir versions prior to v1.14 used the comma exclusively to separate commands:
mix do compile --list + depsSince then, the + operator has been introduced as a
separator for better support on Windows terminals.
Command line options
--app- limit recursive tasks to the given apps. This option may be given multiple times and must come before any of the tasks.