You can install the latest master version of brunch by following these
simple steps:
- Clone the repo, navigate to its directory.
- Change
bin/brunchinpackage.jsontobin/brunchcoffee. It will allow you not to compile the source every time you change it. - Execute
npm installto install packages. - Execute
npm uninstall -g brunch && npm link - Change
package.jsonbin/brunchcoffeeback tobin/brunch. - Use
git pullto update to latest brunch. - Use
DEBUG='brunch:*' brunch buildto log all build steps.
Test suite can be run via npm test.
The usual contributing steps are:
- Fork the official repository.
- Clone your fork: git clone git@github.com:/brunch.git
- Make sure tests are passing for you: npm install && npm test
- Create a topic branch: git checkout -b topics/new-feature-name
- Add tests and code for your changes.
- Once you‘re done, make sure all tests still pass: npm install && npm test
- Make sure your code conforms coffee style guide.
- Commit and push to your fork.
- Create an pull request from your branch.
- Sit back and enjoy.
If you want to create your own plugin, you can use brunch-boilerplate-plugin as a base.