Nerves v0.7.1 Nerves.Package.Provider behaviour View Source
Defines the Nerves package provider behaviour
A package provider is a module that can take package source and produce artifacts.
Link to this section Summary
Link to this section Callbacks
Link to this callback
artifact(package, toolchain, opts)
View Source
artifact(package :: Nerves.Package.t, toolchain :: atom, opts :: term) :: :ok | {:error, reason :: term}
Link to this callback
clean(package)
View Source
clean(package :: Nerves.Package.t) :: :ok | {:error, reason :: term}