Make WordPress Core

Changeset 62144 for trunk/Gruntfile.js


Ignore:
Timestamp:
03/26/2026 04:05:10 PM (2 weeks ago)
Author:
desrosj
Message:

Build/Test Tools: Commiting changes to built files after [62143].

This commits changes to built files that were not included in the previous commit that restored version history for files that were previously subject to version control.

This also reverts [62069], which was a temporary fix to ensure deleted files that are no longer desired were cleaned up on the build server prior to committing the changes.

Finally, the src/wp-includes/build and all its contents to the exclusion list for PHPCS scans. There are small coding standards failures in these files that need to be resolved upstream before the scan will pass on this directory.

Props dmsnell, ellatrix, desrosj.
See #64393.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r62103 r62144  
    4848        ],
    4949
    50         // All files copied from the Gutenberg repository.
     50        // All files copied from the Gutenberg repository excluded from version control.
    5151        gutenbergFiles = [
    52             'wp-includes/assets',
    53             'wp-includes/build',
    5452            'wp-includes/js/dist',
    5553            'wp-includes/css/dist',
    56             'wp-includes/blocks/**/*',
    57             '!wp-includes/blocks/index.php',
    58             'wp-includes/images/icon-library',
    5954            // Old location kept temporarily to ensure they are cleaned up.
    6055            'wp-includes/icons',
     
    21322127
    21332128    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 
    21442129        if ( grunt.option( 'dev' ) ) {
    21452130            grunt.task.run( [
    2146                 'gutenberg:download',
     2131                'gutenberg:verify',
    21472132                'build:js',
    21482133                'build:css',
     
    21542139        } else {
    21552140            grunt.task.run( [
    2156                 'gutenberg:download',
     2141                'gutenberg:verify',
    21572142                'build:certificates',
    21582143                'build:files',
Note: See TracChangeset for help on using the changeset viewer.