Created
November 7, 2013 00:17
-
-
Save matthewtole/7346696 to your computer and use it in GitHub Desktop.
Sample build script for a Pebble SDK 2.0 app using Javascript.
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
jshint js/main.js || { exit 1; } | |
jshint pebble/appinfo.json || { exit 1; } | |
uglifyjs js/libs/firebase.js js/libs/superagent.js js/main.js -o pebble/src/js/pebble-js-app.js | |
cd pebble | |
pebble clean | |
pebble build || { exit 1; } | |
rm src/js/pebble-js-app.js || { exit 1; } | |
if [ "$1" = "install" ]; then | |
pebble install --logs | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment