diff options
| author | Pete Bacon Darwin | 2013-10-24 22:48:22 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-10-24 23:26:37 +0100 | 
| commit | 3e79c9b09850899038f8609649de60ec326b8d10 (patch) | |
| tree | 90a6bd17f38d3bbf62e8a065330e60a0cb1a2c79 | |
| parent | e8a3569be6bccd989b3f66e647ade77def5b5330 (diff) | |
| download | angular.js-3e79c9b09850899038f8609649de60ec326b8d10.tar.bz2 | |
chore(grunt): add jshint to the test task
It is very easy to let jshint failures slip into the master build if
the jshint task is not part of the standard local grunt tasks.
| -rw-r--r-- | Gruntfile.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Gruntfile.js b/Gruntfile.js index e78fbf45..b8ae0181 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -280,7 +280,7 @@ module.exports = function(grunt) {    //alias tasks -  grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['package','test:unit','test:promises-aplus', 'tests:docs', 'test:e2e']); +  grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['jshint', 'package','test:unit','test:promises-aplus', 'tests:docs', 'test:e2e']);    grunt.registerTask('test:jqlite', 'Run the unit tests with Karma' , ['tests:jqlite']);    grunt.registerTask('test:jquery', 'Run the jQuery unit tests with Karma', ['tests:jquery']);    grunt.registerTask('test:modules', 'Run the Karma module tests with Karma', ['tests:modules']); | 
