distillery v0.6.0 Mix.Tasks.Release.Init

Prepares a new project for use with releases. This simply creates a rel directory in the project root, and creates a basic initial configuration file in rel/config.exs.

After running this, you can build a release right away with mix release, but it is recommended you review the config file to understand it’s contents.

Examples

# Initialize releases, with a fully commented config file
mix release.init

# Initialize releases, but with no comments in the config file
mix release.init --no-doc

# For umbrella projects, generate a config where each app
# in the umbrella is it's own release, rather than all
# apps under a single release
mix release.init --release-per-app

# Name the release, by default the current application name
# will be used, or in the case of umbrella projects, the name
# of the directory in which the umbrella project resides, with
# invalid characters replaced or stripped out.
mix release.init --name foobar

Summary

Functions

Callback implementation for c:Mix.Task.run/1

Functions

run(args)

Callback implementation for c:Mix.Task.run/1.