Skip to content

Submitting a Pull Request

fabien-d edited this page Apr 21, 2013 · 13 revisions

NOTE: 0.3. is now in a separate 0.3 branch. The master branch is 0.4.*

Requirements

First Time

In a terminal, inside the root of the alertify folder simply type npm install. This will install the dev dependencies to run the grunt tasks.

Build

In a terminal, inside the root of the alertify folder simply type grunt (More info on using grunt).

grunt

Grunt

This will lint and run unit tests on the src/alertify.js file before creating the lib/alertify.js and lib/alertify.min.js.

Coding

All changes should be made to the source file src/alertify.js. The library files located inside the lib/ folder are auto generated via the grunt build command.

New functionality should include unit tests.

Pull Request Guidelines

  • Create your feature branch off the 0.3 branch
  • Develop in a topic branch (not master)
  • Squash your commits
  • Submit the PR to the staging 0.3 branch

more information to come...

Clone this wiki locally