Nerves v1.5.0 Nerves.Artifact.BuildRunner behaviour View Source
Defines the Nerves build runner behaviour
A build runner is a module that can take package source and produce artifacts.
Link to this section Summary
Link to this section Types
Link to this type
archive_result() View Source
Link to this type
build_result() View Source
Link to this type
clean_result()
View Source
clean_result()
View Source
clean_result() :: :ok | {:error, reason :: term()}
clean_result() :: :ok | {:error, reason :: term()}
Link to this section Callbacks
Link to this callback
archive(package, toolchain, opts)
View Source
archive(package, toolchain, opts)
View Source
archive(package :: Nerves.Package.t(), toolchain :: atom(), opts :: term()) ::
archive_result()
archive(package :: Nerves.Package.t(), toolchain :: atom(), opts :: term()) :: archive_result()
Link to this callback
build(package, toolchain, opts)
View Source
build(package, toolchain, opts)
View Source
build(package :: Nerves.Package.t(), toolchain :: atom(), opts :: term()) ::
build_result()
build(package :: Nerves.Package.t(), toolchain :: atom(), opts :: term()) :: build_result()
Link to this callback
clean(package)
View Source
clean(package)
View Source
clean(package :: Nerves.Package.t()) :: clean_result()
clean(package :: Nerves.Package.t()) :: clean_result()