Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,10 @@ module.exports = function(grunt) {
'wp-includes/js/',
],

// All files copied from the Gutenberg repository.
// All files copied from the Gutenberg repository excluded from version control.
gutenbergFiles = [
'wp-includes/assets',
'wp-includes/build',
'wp-includes/js/dist',
'wp-includes/css/dist',
'wp-includes/blocks/**/*',
'!wp-includes/blocks/index.php',
'wp-includes/images/icon-library',
// Old location kept temporarily to ensure they are cleaned up.
'wp-includes/icons',
],
Expand Down Expand Up @@ -2131,16 +2126,6 @@ module.exports = function(grunt) {
] );

grunt.registerTask( 'build', function() {
var done = this.async();

grunt.util.spawn( {
grunt: true,
args: [ 'clean', '--dev' ],
opts: { stdio: 'inherit' }
}, function( buildError ) {
done( ! buildError );
} );

if ( grunt.option( 'dev' ) ) {
grunt.task.run( [
'gutenberg:download',
Expand Down
1 change: 1 addition & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<exclude-pattern>/src/wp-includes/assets/*</exclude-pattern>
<exclude-pattern>/src/wp-includes/blocks/*/*.asset.php</exclude-pattern>
<exclude-pattern>/src/wp-includes/blocks/blocks-json.php</exclude-pattern>
<exclude-pattern>/src/wp-includes/build/*</exclude-pattern>
<exclude-pattern>/src/wp-includes/ID3/*</exclude-pattern>
<exclude-pattern>/src/wp-includes/IXR/*</exclude-pattern>
<exclude-pattern>/src/wp-includes/js/*</exclude-pattern>
Expand Down
Loading
Loading