0.0.1 • Published 7 years ago
grunt-screeps-customserver v0.0.1
grunt-screeps-customserver
A Grunt plugin for committing code to your Screeps account.
This is a fork of the original grunt-screeps in order to provide configuration options for pushing to a private server.
Note: The screeps server must support the screepsmod-auth mod.
Getting Started
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-screeps-customserver
Usage Example
Gruntfile.js:
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-screeps');
grunt.initConfig({
screeps: {
options: {
hostname: 'SCREEPS_SERVER_IP_OR_HOSTNAME',
port: 'SCREEPS_SERVER_PORT',
'use-https': false,
username: 'YOUR_USERNAME_OR_EMAIL_IF_ON_SCREEPS_DOT_COM',
password: 'YOUR_PASSWORD',
branch: 'default',
ptr: false
},
dist: {
src: ['dist/*.js']
}
}
});
}
Now you can run this command to commit your code from dist
folder to your Screeps account:
grunt screeps
0.0.1
7 years ago