Bob
About
Bob is the FED saviour
Consuming
To consume this repo you will need to install it globally, this makes it accessable from anywhere
$ npm install bob-builder -g
Functions
$ bob add
- Register the current directory with Bob so he can keep an eye on stuff.
$ bob compile <site>
- Runs npm compile in the specified site.
$ bob deploy <site>
- Runs npm deploy in the specified site.
$ bob pull [site=all]
- Runs grunt pull in the specified site, or all sites if not supplied. under development.
$ bob clone <site>
- Clones the current repo into another repo, great for prototyping. under development.
Developing on
If you want to work on this repo you will need to install the dependencies
$ npm install
You will also want to link the repo with npm. This means you won't need to run npm install -g every time you make a change.
$ npm link
Notes on coding style
Code is linted by ".jshintrc" when you run $ grunt test
or $ npm test
For more on the coding style, please see Shortbreaks about page.
Tests
Tests will run using the default grunt task but can also be called stand-alone using:
$ grunt test