Changeset 62144 for trunk/Gruntfile.js
- Timestamp:
- 03/26/2026 04:05:10 PM (2 weeks ago)
- File:
-
- 1 edited
-
trunk/Gruntfile.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r62103 r62144 48 48 ], 49 49 50 // All files copied from the Gutenberg repository .50 // All files copied from the Gutenberg repository excluded from version control. 51 51 gutenbergFiles = [ 52 'wp-includes/assets',53 'wp-includes/build',54 52 'wp-includes/js/dist', 55 53 'wp-includes/css/dist', 56 'wp-includes/blocks/**/*',57 '!wp-includes/blocks/index.php',58 'wp-includes/images/icon-library',59 54 // Old location kept temporarily to ensure they are cleaned up. 60 55 'wp-includes/icons', … … 2132 2127 2133 2128 grunt.registerTask( 'build', function() { 2134 var done = this.async();2135 2136 grunt.util.spawn( {2137 grunt: true,2138 args: [ 'clean', '--dev' ],2139 opts: { stdio: 'inherit' }2140 }, function( buildError ) {2141 done( ! buildError );2142 } );2143 2144 2129 if ( grunt.option( 'dev' ) ) { 2145 2130 grunt.task.run( [ 2146 'gutenberg: download',2131 'gutenberg:verify', 2147 2132 'build:js', 2148 2133 'build:css', … … 2154 2139 } else { 2155 2140 grunt.task.run( [ 2156 'gutenberg: download',2141 'gutenberg:verify', 2157 2142 'build:certificates', 2158 2143 'build:files',
Note: See TracChangeset
for help on using the changeset viewer.