Skip to content

Commit

Permalink
enabling the lint task when running tests so we can identify coding c…
Browse files Browse the repository at this point in the history
…onvention issues on Pull-Requests in the CI
  • Loading branch information
lirantal committed Jul 20, 2015
1 parent 53194ff commit c90dda9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ module.exports = function (grunt) {
grunt.registerTask('build', ['env:dev', 'lint', 'ngAnnotate', 'uglify', 'cssmin']);

// Run the project tests
grunt.registerTask('test', ['env:test', 'copy:localConfig', 'mongoose', 'mochaTest', 'karma:unit']);
grunt.registerTask('test:server', ['env:test', 'mongoose', 'mochaTest']);
grunt.registerTask('test:client', ['env:test', 'mongoose', 'karma:unit']);
grunt.registerTask('test', ['env:test', 'lint', 'copy:localConfig', 'mongoose', 'mochaTest', 'karma:unit']);
grunt.registerTask('test:server', ['env:test', 'lint', 'mongoose', 'mochaTest']);
grunt.registerTask('test:client', ['env:test', 'lint', 'mongoose', 'karma:unit']);

// Run the project in development mode
grunt.registerTask('default', ['env:dev', 'lint', 'copy:localConfig', 'concurrent:default']);
Expand Down

0 comments on commit c90dda9

Please sign in to comment.