View Source mix archive.build.all (MixTaskArchiveDeps v1.0.0)

Builds each dependency required by the project and the project itself into archives according to the specification of the Erlang Archive Format.

This task goal is to create packages. which could be used from Erlang environment without Elixir installation.

The archives will be created in the "archives" subdirectory of the project build directory by default, unless an argument -o is provided with the directory name.

The task will create archives for the project application, and all it's dependencies.

If -e flag is specified, it will also archive elixir core applications referenced by the project and all it's dependencies.

command-line-options

Command line options

  • -o|--destination - specifies output directory name. Defaults to BUILD_DIR/archives

  • -e|--elixir - specifies if all elixir applications should be archived. Defaults to false

  • --skip - a space-separated list of dependencies to skip

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

@spec run(OptionParser.argv()) :: :ok

Callback implementation for Mix.Task.run/1.