mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-25 13:39:06 -05:00
added CONTRIBUTING.md
This commit is contained in:
parent
9a59e34d8c
commit
7c936d5f46
1 changed files with 13 additions and 0 deletions
13
CONTRIBUTING.md
Normal file
13
CONTRIBUTING.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
### Building and Contributing
|
||||||
|
|
||||||
|
To build you must first install [node.js](http://nodejs.org/) and [grunt](http://gruntjs.com/), then run
|
||||||
|
|
||||||
|
npm install
|
||||||
|
|
||||||
|
This will install the required build dependencies, then run
|
||||||
|
|
||||||
|
grunt dev
|
||||||
|
|
||||||
|
which is a task that builds the `matter-dev.js` file, spawns a `connect` and `watch` server, then opens `demo/dev.html` in your browser. Any changes you make to the source will automatically rebuild `matter-dev.js` and reload your browser for quick and easy testing.
|
||||||
|
|
||||||
|
Contributions are welcome, please ensure they follow the same style and architecture as the rest of the code. You should run `grunt test` to ensure `jshint` gives no errors. Please do not include any changes to the files in the `build` directory.
|
Loading…
Reference in a new issue