Make WordPress Core

Opened 8 years ago

Closed 4 years ago

#45614 closed enhancement (worksforme)

Build Tools: grunt build fails if mu-plugins and uploads directories has many files

Reported by: Nikschavan Owned by:
Priority: normal Milestone:
Component: Build/Test Tools Version: 5.0
Severity: normal Keywords: reporter-feedback
Cc: Focuses:

Description

These directories can be included in the --minimal-copy grunt option to skip these from build process.

Related #38423

Attachments (1)

45614.1.diff​ (853 bytes ) - added by Nikschavan 8 years ago.
Excludes directories from wp-content/ from build process.

Download all attachments as: .zip

Change History (3)

@Nikschavan
8 years ago

Excludes directories from wp-content/ from build process.

#1 @isabel_brison
6 years ago

  • Keywords reporter-feedback added

Hi @Nikschavan ! The mu-plugins and uploads directories, as well as the other directories from wp-content referenced in your patch, aren't included in the list of built files. The full list, with the minimal-copy option enabled, is:

  '*.php',
  '*.txt',
  '*.html',
  'wp-includes/**',
  'wp-admin/**',
  'wp-content/index.php',
  'wp-content/themes/index.php',
  'wp-content/themes/twenty*/**',
  'wp-content/plugins/index.php',
  'wp-content/plugins/hello.php',
  'wp-content/plugins/akismet/**',
  '!wp-content/themes/twenty*/node_modules/**',
  '!wp-includes/assets/**',
  '!js/**',
  '!.{svn,git}',
  '!wp-includes/version.php',
  '!**/*.map',
  '!index.php',
  '!wp-admin/index.php',
  '!_index.php',
  '!wp-admin/_index.php',
  '!wp-content/plugins/**',
  '!wp-content/themes/!(twenty*)/**'

Could you provide some more details about the build failure, any error messages, etc.?

#2 @desrosj
4 years ago

  • Milestone Awaiting Review
  • Resolution → worksforme
  • Status new → closed

Going to close this one out due to a lack of reporter feedback.

If someone else is able to reproduce and provide more details, please feel free to reopen!

Note: See TracTickets for help on using tickets.