Mix v1.3.2 Mix.Local.Installer behaviour
This module implements pieces of functionality shared by the archive- and escript-related tasks.
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
Functions
Specs
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.
Specs
print_list(atom, [String.t]) :: :ok
Prints a list of items in a uniform way. Used for printing the list of installed archives and escripts.
Specs
uninstall(atom, OptionParser.argv) :: boolean
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.