Skip to content

Instantly share code, notes, and snippets.

@matthewtole
Created August 20, 2013 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewtole/6287691 to your computer and use it in GitHub Desktop.
Save matthewtole/6287691 to your computer and use it in GitHub Desktop.
Pebble build script that uses libpebble to upload the build to the watch.
PEBBLE_ID=00:18:2F:CB:F6:D7;
LIBPEBBLE_PATH=/Users/matthewtole/pebble-dev/libpebble/p.py;
clear;
./waf clean build;
if [ $? == 0 ]
then
BUILD_FILE=$(ls build/*.pbw);
$LIBPEBBLE_PATH --pebble_id=$PEBBLE_ID --lightblue reinstall $BUILD_FILE;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment