Name: gulp-screeps
Owner: screepers
Description: Gulp plugin for screeps
Forked from: wk-cof/gulp-screeps
Created: 2016-11-08 14:51:31.0
Updated: 2018-02-27 20:14:35.0
Pushed: 2018-01-30 14:53:18.0
Homepage: null
Size: 40
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A Gulp plugin for commiting code to your Screeps account. The plugin is based on the grunt equivalent.
gulpfile.js:
gulp = require('gulp');
screeps = require('gulp-screeps');
.task('screeps', function() {
lp.src('*.js')
.pipe(screeps(options));
If you don't want to commit your account information, require an other module and export an option object. Don't forget to add the file to your .gitignore.
gulpfile.js:
gulp = require('gulp');
screeps = require('gulp-screeps');
credentials = require('./credentials.js');
.task('screeps', function() {
lp.src('*.js')
.pipe(screeps(credentials));
credentials.js:
le.exports = {
email: 'EMAIL',
password: 'PASSWORD',
token: 'token'
branch: 'default',
ptr: false,
host: 'someprivateserver.com',
port: 9000,
secure: false