Make WordPress Core

Changeset 28796


Ignore:
Timestamp:
06/21/2014 07:44:26 PM (10 years ago)
Author:
wonderboymusic
Message:

Update phpunit grunt task to not use deprecated util package. Run npm install or sudo npm install to get the updates.

Props jorbin.
Fixes #27343.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r28620 r28796  
    66
    77    // Load tasks.
    8     require('matchdep').filterDev('grunt-*').forEach( grunt.loadNpmTasks );
     8    require('matchdep').filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks );
     9    // Load legacy utils
     10    grunt.util = require('grunt-legacy-util');
    911
    1012    // Project configuration.
  • trunk/package.json

    r28175 r28796  
    1111  "devDependencies": {
    1212    "grunt": "~0.4.2",
     13    "grunt-autoprefixer": "~0.7.1",
    1314    "grunt-contrib-clean": "~0.5.0",
     15    "grunt-contrib-compress": "~0.6.0",
     16    "grunt-contrib-concat": "~0.3.0",
    1417    "grunt-contrib-copy": "~0.5.0",
    1518    "grunt-contrib-cssmin": "~0.7.0",
     19    "grunt-contrib-imagemin": "~0.4.1",
     20    "grunt-contrib-jshint": "~0.8.0",
    1621    "grunt-contrib-qunit": "~0.4.0",
    1722    "grunt-contrib-uglify": "~0.3.0",
    1823    "grunt-contrib-watch": "~0.5.3",
    19     "grunt-contrib-compress": "~0.6.0",
    20     "grunt-contrib-concat": "~0.3.0",
    21     "grunt-contrib-jshint": "~0.8.0",
    2224    "grunt-cssjanus": "~0.2.2",
     25    "grunt-jsvalidate": "~0.2.2",
     26    "grunt-legacy-util": "^0.2.0",
     27    "grunt-patch-wordpress": "~0.2.1",
    2328    "grunt-sass": "~0.10.0",
    24     "grunt-autoprefixer": "~0.7.1",
    25     "grunt-jsvalidate": "~0.2.2",
    26     "grunt-contrib-imagemin" : "~0.4.1",
    27     "grunt-patch-wordpress" : "~0.2.1",
    2829    "matchdep": "~0.3.0"
    2930  }
Note: See TracChangeset for help on using the changeset viewer.