Skip to:
Content

Changeset 8390


Ignore:
Timestamp:
05/05/14 10:45:12 (4 years ago)
Author:
djpaul
Message:

Grunt: rename task grunt build-dev to grunt build.

This is the default task that runs when you run just grunt so it doesn't break any existing workflows for us,
but makes the development Grunt task name consistent with bbPress and WordPress.

Props netweb, see #5160

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r8389 r8390  
    252252     */ 
    253253 
    254     grunt.registerTask( 'build-dev',     ['jshint', 'cssjanus:core'] ); 
    255     grunt.registerTask( 'build-commit',  ['build-dev', 'checktextdomain', 'makepot', 'imagemin'] ); 
     254    grunt.registerTask( 'build',         ['jshint', 'cssjanus:core'] ); 
     255    grunt.registerTask( 'build-commit',  ['build', 'checktextdomain', 'makepot', 'imagemin'] ); 
    256256    grunt.registerTask( 'build-release', ['build-commit', 'clean:all', 'copy:files', 'uglify:core', 'cssmin:ltr', 'cssmin:rtl', 'exec:bbpress', /*'exec:bpdefault',*/ 'test'] ); 
    257257 
     
    274274 
    275275    // Default task. 
    276     grunt.registerTask( 'default', ['build-dev'] ); 
     276    grunt.registerTask( 'default', ['build'] ); 
    277277 
    278278 
Note: See TracChangeset for help on using the changeset viewer.