mix firmware.unpack (nerves v1.7.0) View Source

Unpack the firmware so that its contents can be inspected locally.

Usage

mix firmware.unpack [output directory]

If not supplied, the output directory will be based off the OTP application name.

Examples

# Create a firmware bundle. It will be under the _build directory
mix firmware

# Unpack it
mix firmware.unpack firmware_contents

# Inspect it
ls firmware_contents