web-animations/web-animations-next — pull request #57 by alancutter (2014-06-21 08:28:38+00:00)
Title: Introduce Grunt build targets

This change introduces the concept of build targets to Grunt, these targets are defined in `target-config.js` and have different sets of source and test files.
The current build targets available are:
- minifill (default)
- maxifill

The default build target is used in `test/runner.html`, `web-animations.js` and `web-animations.min.js`.

*New grunt commands*
`grunt gendev`
Generates web-animation-*.dev.js files for each of the build targets intended for debugging.

`grunt gentest`
Generates test/runner-*.html files for each of the build targets intended for running unit tests specific to the build target.

`grunt clean`
Removes all generated files.

`grunt `
Runs `uglify`, `gendev`, `gentest` and `gjslint` for just the specified build target.

*Changed grunt commands*
`grunt`
The default grunt command now also runs `gendev` and `gentest` in addition to `uglify` and `gjslint`.

`grunt uglify`
This now builds uglified web-animation-*.min.js files for each of the build targets.