MixTaskArchiveDeps v0.1.0 Mix.Tasks.Archive.Build.All

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

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

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

Summary

Functions

A task needs to implement run which receives a list of command line args

Functions

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

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.