Changeset 466 for Dev/trunk/Gruntfile.js
- Timestamp:
- 06/26/13 14:43:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/Gruntfile.js
r464 r466 29 29 dest: developmentDir, 30 30 ext: '.js' 31 }] 32 } 33 }, 34 coffeelint: { 35 compile: { 36 options: require('./'+srcDir+'.coffeelint.json'), 37 files: [{ 38 expand: true, 39 cwd: srcDir, 40 src: ['client/qed-client/**/*.coffee', 'server/**.coffee'] 31 41 }] 32 42 } … … 116 126 }); 117 127 128 grunt.loadNpmTasks('grunt-coffeelint'); 118 129 grunt.loadNpmTasks('grunt-contrib-clean'); 119 130 grunt.loadNpmTasks('grunt-contrib-coffee'); … … 126 137 // development tasks 127 138 grunt.registerTask('install-deps', ['copy:server-deps', 'copy:client-deps']); 128 grunt.registerTask('compile', ['less:compile', 'jshint:compile', 'htmlhint:compile', 'coffee:compile', 'copy:compile']); 139 grunt.registerTask('lint', ['jshint:compile', 'htmlhint:compile', 'coffeelint:compile']); 140 grunt.registerTask('compile', ['lint', 'less:compile', 'coffee:compile', 'copy:compile']); 129 141 grunt.registerTask('build', ['clean:development', 'install-deps', 'compile']); 130 142 … … 135 147 grunt.registerTask('default', ['compile']); 136 148 149 // util functions 150 137 151 };
Note: See TracChangeset
for help on using the changeset viewer.