Make WordPress Core

Changeset 46589


Ignore:
Timestamp:
10/26/2019 12:15:53 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Add banner to RTL CSS and minified JS files.

Patches occasionally come in on generated files. We should be kind to new contributors and give them a hint that these files are auto-generated.

This is a follow-up to [41271], which added the banner to minified CSS files.

Fixes #48424. See #30666.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r46586 r46589  
    8484                src: [
    8585                    WORKING_DIR + 'wp-admin/css/*.min.css',
     86                    WORKING_DIR + 'wp-admin/css/*-rtl*.css',
     87                    WORKING_DIR + 'wp-admin/js/**/*.min.js',
    8688                    WORKING_DIR + 'wp-includes/css/*.min.css',
     89                    WORKING_DIR + 'wp-includes/css/*-rtl*.css',
     90                    WORKING_DIR + 'wp-includes/js/*.min.js',
     91                    WORKING_DIR + 'wp-includes/js/dist/*.min.js',
    8792                    WORKING_DIR + 'wp-admin/css/colors/*/*.css'
    8893                ]
     
    97102            css: [
    98103                WORKING_DIR + 'wp-admin/css/*.min.css',
    99                 WORKING_DIR + 'wp-admin/css/*rtl*',
     104                WORKING_DIR + 'wp-admin/css/*-rtl*.css',
    100105                WORKING_DIR + 'wp-includes/css/*.min.css',
    101                 WORKING_DIR + 'wp-includes/css/*rtl*',
     106                WORKING_DIR + 'wp-includes/css/*-rtl*.css',
    102107                WORKING_DIR + 'wp-admin/css/colors/**/*.css'
    103108            ],
Note: See TracChangeset for help on using the changeset viewer.