diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..9134189 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,24 @@ +module.exports = function(grunt) { + var config = require('./.credentials.json'); + var branch = grunt.option('branch') || config.branch; + var email = grunt.option('email') || config.email; + var token = grunt.option('token') || config.token; + var ptr = grunt.option('ptr') ? true : config.ptr; + + + grunt.loadNpmTasks('grunt-screeps'); + + grunt.initConfig({ + screeps: { + options: { + email: email, + token: token, + branch: branch, + ptr: ptr + }, + dist: { + src: ['dist/*.js'] + } + } + }); +}