Mix v1.1.1 Mix.Tasks.Deps.Compile

Compiles dependencies.

By default, compile all dependencies. A list of dependencies can be given to force the compilation of specific dependencies.

This task attempts to detect if the project contains one of the following files and act accordingly:

  • mix.exs - invokes mix compile
  • rebar.config - invokes rebar compile
  • Makefile.win - invokes nmake /F Makefile.win (only on Windows)
  • Makefile - invokes make (except on Windows)

The compilation can be customized by passing a compile option in the dependency:

{:some_dependency, "0.1.0", compile: "command to compile"}

Summary

Functions

Callback implementation for Mix.Task.run/1

Functions

run(args)

Specs

run(OptionParser.argv) :: :ok

Callback implementation for Mix.Task.run/1.