distillery v2.0.8 Mix.Releases.Release View Source
Represents metadata about a release
Link to this section Summary
Functions
Gets a list of {app, vsn} tuples for the current release
Get the path to which the release tarball will be output
Get the path to which release binaries will be output
Returns true if the release is executable
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
apps(t()) :: [Mix.Releases.App.t()] | {:error, term()}
Gets a list of {app, vsn} tuples for the current release.
An optional second parameter enables/disables debug logging of discovered apps.
Get the path to which the release tarball will be output
Get the path to which release binaries will be output
Returns true if the release is executable
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