gulpjs/plugins — pull request #27 by gratimax (2014-02-07 23:48:59+00:00)
Title: Add build systems

This is a major breaking change, every file has been changed and lots have been added.

This branch adds ALL! the build systems(grunt, gulp, brunch), making development and deployment super easy, adding asset minification, automatic deployment via github-pages(see [this](https://github.com/gulpjs/plugins/commit/fa4027f90a725d9caa7971fc00e1d3c4174d2026) commit as an example), and an automatic reload development workflow.

This fixes #25, #24, #21, and allows for #9. We'll talk about how to do testing, as I haven't figured out fully how to do that with brunch(but we don't necessarily have to :D).

You do not need to install anything globally other than gulp to completely develop and deploy(super happy about that).

Below is development instructions. How about copying these to the readme?

### Notes

#### Project structure

To develop, run `npm install` and `bower install`. Everything that is needed both for the client and development will be installed(other than gulp, but you probably have that installed through `npm install -g gulp`.

This does use several build systems, grunt, gulp, and brunch. Brunch handles all of the app minification, concatenation, and development work, grunt is just for deployment, and gulp is for tying it all together.

As per brunch standards, all the app is in app/, with index.html in assets/, javascript in js/, and css in css/. One quirk of this is that the README for the gh-pages branch goes in assets(so it is preserved during deployment)

#### Development and deployment
Several tasks are available from gulp for development and deployment:

- `gulp dev`: starts a brunch server on localhost:3333. Start editing files and see the page reload automatically, pretty cool.
- `gulp deploy`: Courtesy of [grunt-gh-pages](https://github.com/tschaub/grunt-gh-pages), builds the project for production and deploys by pushing to the [gh-pages](https://github.com/gulpjs/plugins/tree/gh-pages) branch. An example output is [this](https://github.com/gulpjs/plugins/commit/fa4027f90a725d9caa7971fc00e1d3c4174d2026) commit. This is safe as only people with push access can deploy(awesome!).

If you wish to learn more about brunch(which is instrumental to development), check [the brunch website](http://brunch.io/).