MixTaskArchiveDeps v0.3.0 Mix.Tasks.Archive.Build.Deps

Builds each dependency into archives according to the specification of the Erlang Archive Format.

Archives are prebuild packages, which can be used by both Erlang and Elixir without Mix or other dependency management tools.

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.

Command line options

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

Summary

Functions

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

Functions

build_archives(opts)
list_archives(opts)
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.