screepers/gulp-screeps

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

gulp-screeps

A Gulp plugin for commiting code to your Screeps account. The plugin is based on the grunt equivalent.

Usage

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

Options

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.