Skip to content

Instantly share code, notes, and snippets.

@scald
Created March 1, 2014 20:42
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 scald/9296939 to your computer and use it in GitHub Desktop.
Save scald/9296939 to your computer and use it in GitHub Desktop.
Gruntfile for Pebble JS Build and Install
module.exports = function(grunt) {
grunt.initConfig({
phoneIP: '192.168.1.68',
// set logs: '' to turn off logging
logs: '--logs',
shell: {
buildAndInstall: {
options: {
stdout: true,
stderr: true
},
command: 'pebble build; pebble install --phone <%= phoneIP %> <%= logs %>'
}
}
});
grunt.loadNpmTasks('grunt-shell');
grunt.registerTask('default', ['shell']);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment