aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-10-24 22:48:22 +0100
committerPete Bacon Darwin2013-10-24 23:26:37 +0100
commit3e79c9b09850899038f8609649de60ec326b8d10 (patch)
tree90a6bd17f38d3bbf62e8a065330e60a0cb1a2c79
parente8a3569be6bccd989b3f66e647ade77def5b5330 (diff)
downloadangular.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.js2
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']);