Permalink
Browse files

Adding jshint task to test tasks so it runs first

  • Loading branch information...
c0bra committed May 30, 2013
1 parent 4c00ece commit f26f36701f825c467d56221d775524b63a5098a2
Showing with 3 additions and 3 deletions.
  1. +3 −3 GruntFile.js
View
@@ -282,12 +282,12 @@
grunt.loadNpmTasks('grunt-contrib-jshint');
- grunt.registerTask('test', ['karma:unit']);
+ grunt.registerTask('test', ['jshint', 'karma:unit']);
// Task for development; auto-build ng-grid.debug.js on source file changes, auto-test on ng-grid.debug.js or unit test changes
- grunt.registerTask('testwatch', ['karma:watch', 'watch']);
+ grunt.registerTask('testwatch', ['jshint', 'karma:watch', 'watch']);
- grunt.registerTask('test-ci', ['debug', 'karma:ci']);
+ grunt.registerTask('test-ci', ['jshint', 'debug', 'karma:ci']);
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-uglify');

0 comments on commit f26f367

Please sign in to comment.