Skip to:
Content

bbPress.org

Changeset 5346


Ignore:
Timestamp:
05/14/2014 05:09:06 AM (8 years ago)
Author:
netweb
Message:

Grunt is deprecating the Grunt.Util.* api, adding grunt-legacy-util will allow us to continue using grunt.util.spawn to spawn the multiple phpunit Grunt tasks.

  • Adds grunt-legacy-util to package.json
  • Requires fresh npm install to update dependencies
  • Props netweb. Fixes #2576
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r5344 r5346  
    5353
    5454    // Load tasks.
    55     require( 'matchdep' ).filterDev( 'grunt-*' ).forEach( grunt.loadNpmTasks );
     55    require( 'matchdep' ).filterDev([ 'grunt-*', '!grunt-legacy-util' ]).forEach( grunt.loadNpmTasks );
     56    // Load legacy utils
     57    grunt.util = require('grunt-legacy-util');
    5658
    5759    // Project configuration.
  • trunk/package.json

    r5339 r5346  
    2020    "grunt-checktextdomain": "~0.1.1",
    2121    "grunt-patch-wordpress": "~0.2.1",
     22    "grunt-legacy-util": "^0.2.0",
    2223    "matchdep": "~0.3.0",
    2324    "grunt-exec": "~0.4.5"
Note: See TracChangeset for help on using the changeset viewer.