distillery v2.0.0-rc.1 Mix.Releases.Release
Represents metadata about a release
Link to this section Summary
Functions
Get the path to which the release tarball will be output
Get the path to which release binaries will be output
Load a fully configured Release object given a release name and environment name
Returns a list of all code_paths of all appliactions included in the release
Get the path to which compiled applications will be output
Creates a new Release with the given name, version, and applications
Converts a Release struct to a release resource structure
Get the path to which versioned release data will be output
Link to this section Types
app_resource() :: {atom(), app_version :: charlist()} | {atom(), app_version :: charlist(), Mix.Releases.App.start_type()}
resource() :: {:release, {name :: charlist(), version :: charlist()}, {:erts, erts_version :: charlist()}, [app_resource()]}
t() :: %Mix.Releases.Release{ applications: [ atom() | {atom(), Mix.Releases.App.start_type()} | Mix.Releases.App.t() ], env: atom(), is_upgrade: boolean(), name: atom(), output_dir: String.t(), profile: Mix.Releases.Profile.t(), resolved_overlays: [Mix.Releases.Overlays.overlay()], upgrade_from: nil | String.t() | :latest, version: String.t() }
Link to this section Functions
Get the path to which the release tarball will be output
Get the path to which release binaries will be output
Load a fully configured Release object given a release name and environment name.
Returns a list of all code_paths of all appliactions included in the release
Get the path to which compiled applications will be output
Creates a new Release with the given name, version, and applications.
Converts a Release struct to a release resource structure.
The format of release resources is documented in the Erlang manual
Get the path to which versioned release data will be output