Skip to content

wk-cof/gulp-screeps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-screeps

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

Usage

gulpfile.js:

var screeps = require('gulp-screeps');
 
gulp.task('screeps', function() {
  gulp.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:

var screeps = require('gulp-screeps');
var credentials = require('./credentials.js');

gulp.task('screeps', function() {
  gulp.src('*.js')
    .pipe(screeps(credentials);
...

credentials.js:

module.exports = {
    email: 'EMAIL',
    password: 'PASSWORD',
    branch: 'default',
    ptr: false
};

Options

  • email - the email of your account
  • password - the password of your account
  • branch (optional) - the branch you wish to commit the code to
  • ptr (optional) - use Public Test Realm

About

Gulp plugin for screeps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published