0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-26 13:49:01 -05:00
liabru-matter-js/CONTRIBUTING.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2017-05-08 19:46:03 -04:00
# Contributing
## License Agreement
When providing any contributions, you must agree and be legally entitled to provide them for use and distribution in the project under the same terms as the [license](https://github.com/liabru/matter-js/blob/master/LICENSE), otherwise they can not be accepted.
## Building
2014-05-10 11:13:49 -04:00
2016-01-16 15:57:05 -05:00
To build you must first install [node.js](http://nodejs.org/) and [gulp](http://gulpjs.com/), then run
2014-05-10 11:13:49 -04:00
npm install
This will install the required build dependencies, then run
gulp dev
2014-05-10 11:13:49 -04:00
2017-05-08 19:46:03 -04:00
which is a task that builds the `matter-dev.js` file, spawns a development server and opens `http://localhost:8000/demo/index.html` in your browser. Any changes you make to the source will automatically rebuild `matter-dev.js` and reload your browser.
## Contributions
2014-05-10 11:13:49 -04:00
2017-05-08 19:46:03 -04:00
Contributions by pull request are welcome! Please ensure they follow the same style and architecture as the rest of the code. You should run `gulp test` and ensure there are no reported errors. Please do not include any changes to the files in the `build` directory. All contributors must agree to the license agreement described at the beginning of this document.
2014-05-10 11:15:18 -04:00
2017-05-08 19:46:03 -04:00
If you'd like to contribute but not sure what to work on, feel free to get in touch.