mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-31 21:27:26 +00:00 
			
		
		
		
	LINT prior to running tests.
This commit is contained in:
		| @@ -51,9 +51,9 @@ module.exports = function (grunt) { | |||||||
|   grunt.loadNpmTasks('grunt-contrib-clean'); |   grunt.loadNpmTasks('grunt-contrib-clean'); | ||||||
|  |  | ||||||
|   grunt.registerTask('test', 'Test the HackMyResume library.', |   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.', |   grunt.registerTask('document', 'Generate HackMyResume library documentation.', | ||||||
|     function( config ) { grunt.task.run( ['yuidoc'] ); }); |     function( config ) { grunt.task.run( ['yuidoc'] ); }); | ||||||
|   grunt.registerTask('default', [ 'jshint', 'test', 'yuidoc' ]); |   grunt.registerTask('default', [ 'test', 'yuidoc' ]); | ||||||
|  |  | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user