springroll-update

0.1.1 • Public • Published

springroll-update

Build Status Dependency Status

Running major structural updates to games.

Install

Install using NPM. Make sure to install globally.

sudo npm install -g springroll-update

Usage

Open the directory which contains all your projects and run the springroll-update command. Below is the format of the script arguments.

springroll-update [--pull|-p] [--update=*] [*]

Examples

Git Pull All

To update all games from Git. This would be like called git pull master origin from each folder.

springroll-update -p

Custom Command

To run a custom bash script, set it as the update argument.

springroll-update --update="grunt clean config manifest default"

Custom Update Script

For example, to run a patch on all games:

springroll-update --update=patch.js

patch.js

module.exports = function(gamePath, completed)
{
  // do something to the game
  // where gamePath is the full
  // system path to the root
  // game folder.
  
  // When done, call completed
  // this can be useful for doing async updates
  completed();
};

License

MIT License.

Package Sidebar

Install

npm i springroll-update

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • springrolljs
  • chipbell4