Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Sample build script for a Pebble SDK 2.0 app using Javascript.
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