Make WordPress Core

Changeset 36955


Ignore:
Timestamp:
03/10/2016 08:13:29 PM (11 years ago)
Author:
ocean90
Message:

Build Tools: Rename the precommit:core task to precommit:base for clarification.

precommit:base runs only the imagemin:core task.

Fixes #35557.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r36935 r36955  
    669669        } );
    670670
    671         grunt.registerTask( 'precommit:core', [
     671        grunt.registerTask( 'precommit:base', [
    672672                'imagemin:core'
    673673        ] );
     
    693693                // Figure out what tasks to run based on what files have been modified.
    694694                function enqueueTestingTasksForModifiedFiles( filesModified ) {
    695                         var taskList = ['precommit:core'];
     695                        var taskList = ['precommit:base'];
    696696                        if ( /.*\.js/.test( filesModified ) ) {
    697697                                grunt.log.write( 'JavaScript source files modified. JavaScript tests will be run.\n');
     
    773773                'precommit:js',
    774774                'precommit:css',
    775                 'precommit:core',
     775                'precommit:base',
    776776                'build'
    777777        ] );
Note: See TracChangeset for help on using the changeset viewer.