Mix.Tasks.Release
Build a release for the current mix application.
Examples
# Build a release using defaults
mix release
# Pass args to erlexec when running the release
mix release --erl="-env TZ UTC"
# Enable dev mode. Make changes, compile using MIX_ENV=prod
# and execute your release again to pick up the changes
mix release --dev
# Set the verbosity level
mix release --verbosity=[silent|quiet|normal|verbose]
You may pass any number of arguments as needed. Make sure you pass arguments
using --key=value
, not --key value
, as the args may be interpreted incorrectly
otherwise.
Summary↑
run(args) | Callback implementation of |
Functions
Callback implementation of Mix.Task.run/1
.