distillery v0.6.8 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
Specs
assemble(Mix.Releases.Config.t) ::
{:ok, Mix.Releases.Config.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.