My grunt setup.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Gavin's Grunt Setup

You only have to do these steps once:

  • Install NodeJS
  • Install Grunt (npm install -g grunt-cli)

In your project:

$ wget
$ ./
(wait, answer the questions it asks)
$ grunt

This will start a watcher for .js files in the js directory. Every time you save a js file, it will be linted with JSHint, minified and all of your QUnit tests will run, in the commandline.

Put all tests in js/test/tests.js.