distillery v1.2.0 Mix.Releases.Assembler
This module is responsible for assembling a release based on a Mix.Releases.Config
struct. It creates the release directory, copies applications, and generates release-specific
files required by :systools
and :release_handler
.
Summary
Functions
This function takes a Config struct and assembles the release
Functions
apply_environment(r, e)
apply_environment(Mix.Releases.Release.t, Mix.Releases.Environment.t) :: {:ok, Mix.Releases.Release.t} | {:error, term}
This function takes a Config struct and assembles the release.
Note: This operation has side-effects! It creates files, directories,
copies files from other filesystem locations. If failures occur, no cleanup
of files/directories is performed. However, all files/directories created by
this function are scoped to the current project’s rel
directory, and cannot
impact the filesystem outside of this directory.
validate_configuration(release)
validate_configuration(Mix.Releases.Release.t) :: :ok | {:error, term}