Skip to content

Commit

Permalink
Contributing: add grunt command for tests [ci-skip] (#2700)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre authored and koenpunt committed Oct 16, 2016
1 parent f2fe103 commit 66d6839
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,19 @@ license your work under the [MIT License](http://en.wikipedia.org/wiki/MIT_Licen
4. Don't manually update the version number in `package.json`. This is done using a Grunt task on deployment.

<a name="grunt"></a>
#### Using CoffeeScript and Grunt
#### Grunt tasks: Running Tests and building Chosen


To install all development dependencies, in the project's root directory, run
npm install
Once you're configured, building the JavaScript from the command line is easy:
Once you're configured, `grunt` tasks are available:

grunt test # run the tests in spec/

grunt build # build Chosen from source

grunt watch # watch coffee/ for changes and build Chosen

If you're interested, you can find the task in [Gruntfile.coffee](https://github.com/harvesthq/chosen/blob/master/Gruntfile.coffee).

0 comments on commit 66d6839

Please sign in to comment.