Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.42 KB

CONTRIBUTING.md

File metadata and controls

30 lines (19 loc) · 1.42 KB

Contributing

First of all, thank you for contributing!

Here are a few guidelines to follow in order to ease code reviews and merging:

For the PHP code base

One may ask you to squash your commits too. This is used to "clean" your pull request before merging it (we don't want commits such as fix tests, fix 2, fix 3, etc.).

When creating your pull request on GitHub, please write a description which gives the context and/or explains why you are creating it.

For the Javascript code base

To get started, you will need to have nodejs installed with npm.

  • From the root of the project, navigate to the javascript directory: cd javascript
  • Then run npm install to fetch all the tooling needed for compiling lava.js

Gulp is used to build the module so you will need to use the tasks:

  • Use gulp watch to monitor the files for changes and rebuild when detected.
  • Use gulp build to initiate a manual dev build.
  • Use gulp release to initiate a manual production build. (Strips comments, removes logging, and minifys the code.)