View Source mix nerves.artifact (nerves v1.11.2)

Creates a Nerves artifact for a Nerves system or toolchain

This compiles the system or toolchain and creates the tar ball containing the result. One would normally post this to GitHub releases or another website so that it can be downloaded when someone uses the system or toolchain.

Command line options

  • --path <path>: The location where you want the archive to be placed. Default: $NERVES_DL_DIR || ~/.nerves/dl

Examples

$ mix nerves.artifact nerves_system_rpi0

If the command is called without the package name, Nerves.Project.config()[:app] will be used by default.

$ mix nerves.artifact --path /tmp