afch-zhwp/Gruntfile.js

18 lines
366 B
JavaScript
Raw Normal View History

2014-02-09 12:23:52 -06:00
/*jshint node:true */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
2014-03-05 02:44:56 -06:00
grunt.loadNpmTasks( 'grunt-jscs-checker' );
2014-02-09 12:23:52 -06:00
2014-03-05 02:44:56 -06:00
grunt.initConfig( {
2014-02-09 12:23:52 -06:00
jshint: {
2014-03-05 02:44:56 -06:00
src: [ 'src/**/*.js' ]
},
jscs: {
src: [ 'src/**/*.js' ]
2014-02-09 12:23:52 -06:00
}
2014-03-05 02:44:56 -06:00
} );
2014-02-09 12:23:52 -06:00
2014-03-05 02:44:56 -06:00
grunt.registerTask( 'test', [ 'jshint', 'jscs' ] );
grunt.registerTask( 'default', [ 'test' ] );
2014-02-09 12:23:52 -06:00
};