Changeset 12736
- Timestamp:
- 09/26/2020 05:27:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r12642 r12736 181 181 clean: { 182 182 all: [ BUILD_DIR ], 183 bp_rest: [ BUILD_DIR + 'bp-rest/' ] 183 bp_rest: [ BUILD_DIR + 'bp-rest/' ], 184 cli: [ 185 BUILD_DIR + 'cli/features/', 186 BUILD_DIR + 'cli/*.{yml,json,lock,xml,xml.dist,md}', 187 BUILD_DIR + 'cli/{.gitignore,.distignore,.editorconfig,.travis.yml}' 188 ] 184 189 }, 185 190 copy: { … … 378 383 grunt.registerTask( 'commit', ['src', 'checktextdomain', 'imagemin', 'phplint', 'exec:phpcompat'] ); 379 384 grunt.registerTask( 'bp_rest', [ 'exec:rest_api', 'copy:bp_rest_components', 'copy:bp_rest_core', 'clean:bp_rest' ] ); 380 grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'exec:blocks_build', 'cssmin', 'bp_rest', 'makepot', 'exec:bpdefault', 'exec:cli' ] );385 grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'exec:blocks_build', 'cssmin', 'bp_rest', 'makepot', 'exec:bpdefault', 'exec:cli', 'clean:cli'] ); 381 386 grunt.registerTask( 'release', ['build'] ); 382 387 … … 395 400 396 401 // Travis CI Tasks. 397 grunt.registerTask( 'travis:grunt', 'Runs Grunt build task.', ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'cssmin', 'bp_rest', 'exec:bpdefault', 'exec:cli' ] );402 grunt.registerTask( 'travis:grunt', 'Runs Grunt build task.', ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'cssmin', 'bp_rest', 'exec:bpdefault', 'exec:cli', 'clean:cli'] ); 398 403 grunt.registerTask( 'travis:phpunit', ['jsvalidate:src', 'jshint', 'checktextdomain', 'phplint', 'test'] ); 399 404 grunt.registerTask( 'travis:codecoverage', 'Runs PHPUnit tasks with code-coverage generation.', ['phpunit:codecoverage'] );
Note: See TracChangeset
for help on using the changeset viewer.