Created
March 1, 2014 20:42
-
-
Save scald/9296939 to your computer and use it in GitHub Desktop.
Gruntfile for Pebble JS Build and Install
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
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