Created
November 30, 2016 14:49
-
-
Save monkbroc/94edfde050191ed251a68d30763a26ef to your computer and use it in GitHub Desktop.
Particle on Raspberry Pi local build script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FIRMWARE=~/Programming/firmware | |
docker run --rm -it -v $FIRMWARE:/firmware -v $PWD:/input -v $PWD:/output particle/buildpack-raspberrypi $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this to
~/bin
, make it executable withchmod +x ~/bin/pi_build
and run it in your app folder withpi_build
. Add additional make arguments like this:pi_build make clean all