Mix v1.3.4 Mix.Local.Installer behaviour View Source
This module implements pieces of functionality shared by the archive- and escript-related tasks.
Link to this section Summary
Functions
Common implementation of installation for archives and escripts
Prints a list of items in a uniform way. Used for printing the list of installed archives and escripts
A common implementation for uninstalling archives and scripts
Callbacks
Checks that the argument given to install is supported by the respective module
Returns a list of already installed version of the same archive or escript
The installation itself
Link to this section Functions
install({module, atom}, OptionParser.argv, Keyword.t) :: boolean
Common implementation of installation for archives and escripts.
Relies on a few callbacks provided by respective callback modules for customizing certain steps in the installation process.
Prints a list of items in a uniform way. Used for printing the list of installed archives and escripts.
uninstall(atom, OptionParser.argv) :: boolean
A common implementation for uninstalling archives and scripts.
Link to this section Callbacks
Checks that the argument given to install is supported by the respective module.
Returns a list of already installed version of the same archive or escript.
The installation itself.