Ticket #5160: 5160-grunt-build.diff
File 5160-grunt-build.diff, 783 bytes (added by , 9 years ago) |
---|
-
Gruntfile.js
250 300 * Register tasks. 251 301 */ 252 302 253 grunt.registerTask( 'build -dev', ['jshint', 'cssjanus:core'] );254 grunt.registerTask( 'build-commit', ['build -dev', 'checktextdomain', 'makepot', 'imagemin'] );303 grunt.registerTask( 'build', ['clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'uglify:core', 'makepot' ] ); 304 grunt.registerTask( 'build-commit', ['build', 'checktextdomain', 'makepot', 'imagemin'] ); 255 305 grunt.registerTask( 'build-release', ['build-commit', 'clean:all', 'copy:files', 'uglify:core', 'cssmin:ltr', 'cssmin:rtl', 'exec:bbpress', /*'exec:bpdefault',*/ 'test'] ); 256 306 257 307