Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding jshint task to test tasks so it runs first

  • Loading branch information...
commit f26f36701f825c467d56221d775524b63a5098a2 1 parent 4c00ece
@c0bra c0bra authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 GruntFile.js
View
6 GruntFile.js
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.