Thanks for your interest in contributing to Baseline! If you'd like to send a pull request, here's how to do it.
Note: Baseline is still being developed, and the code is changing quickly. Please submit a bug report or feature request before you spend time on a pull request. Thanks!
You'll need to complete Google's Contributor License Agreement (CLA) before your pull request can be accepted.
- If you hold the copyright to your pull request, complete the Individual CLA.
- If your organization holds the copyright, complete the Software Grant and Corporate CLA.
If you (or your organization) have submitted a CLA to Google in the past, you don't need to submit a new CLA.
See GitHub's instructions if you're not familiar with this process.
To install the required Node.js modules:
$ npm install -g gulp
$ npm install
To install Bower and its required components:
$ npm install -g bower
$ bower install
Be sure to add tests and update the existing tests as needed.
Note: Don't edit the files in static/
! Those files are generated automatically.
- Update the LESS source files in the
styles/
directory. - Run
gulp css
to generate CSS files orgulp css-minify
to generate minified CSS files.
- Update the source files in the
scripts/
directory. - Run
gulp js
to copy and minify the script files.
Make sure your changes pass the tests:
$ gulp test
You'll get errors if your code is not lint-free, or if the test coverage isn't adequate. Please fix all errors before you send a pull request.
All pull requests are reviewed as quickly as possible. If you don't hear anything within a week, feel free to ask for an update.