LINT prior to running tests.

This commit is contained in:
hacksalot 2015-12-28 04:17:48 -05:00
parent db31744c98
commit 547b87afc6
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('test', 'Test the HackMyResume library.',
function( config ) { grunt.task.run( ['clean','simplemocha:all'] ); });
function( config ) { grunt.task.run( ['clean','jshint','simplemocha:all'] ); });
grunt.registerTask('document', 'Generate HackMyResume library documentation.',
function( config ) { grunt.task.run( ['yuidoc'] ); });
grunt.registerTask('default', [ 'jshint', 'test', 'yuidoc' ]);
grunt.registerTask('default', [ 'test', 'yuidoc' ]);
};