You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
641 B
JavaScript

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']
}
}
});
}