Created
August 20, 2013 21:39
-
-
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.
This file contains 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
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