mix do

Executes the tasks separated by comma.

The comma should be followed by a space.

Examples

The example below prints the available compilers and then the list of dependencies.

mix do compile --list, deps

Note however 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, compile

When compile is executed again, Mix will notice the task has already ran, and skip it.

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/mix/1.12.0/Mix.Tasks.Do.html