distillery v2.0.8 Mix.Releases.App View Source

Represents important metadata about a given application.

Link to this section Summary

Functions

Create a new Application struct from an application name

Same as new/1, but specify the application’s start type

Determines if the provided start type is a valid one

Link to this section Types

Link to this type start_type() View Source
start_type() :: :permanent | :temporary | :transient | :load | :none
Link to this type t() View Source
t() :: %Mix.Releases.App{
  applications: [atom()],
  included_applications: [atom()],
  name: atom(),
  path: nil | String.t(),
  start_type: start_type(),
  vsn: String.t()
}

Link to this section Functions

Link to this function new(name) View Source
new(atom()) :: nil | Mix.Releases.App.t() | {:error, String.t()}

Create a new Application struct from an application name

Link to this function new(name, start_type) View Source
new(atom(), start_type() | nil) ::
  nil | Mix.Releases.App.t() | {:error, String.t()}

Same as new/1, but specify the application’s start type

Link to this function valid_start_type?(start_type) View Source
valid_start_type?(atom()) :: boolean()

Determines if the provided start type is a valid one.