WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/26/2019 07:34:24 PM (8 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove the dependency on a globally installed Grunt.

The existing "grunt": "grunt" script in package.json allows for the use of npm run grunt ... which uses the local grunt binary in the project's node_modules.

Fixes #47380

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/oembed/template.php

    r43571 r45445  
    310310     * In many cases, this file will not exist; in those cases, we simply skip the test.
    311311     *
    312      * So when would it be run? We have Travis CI run `grunt test` which then runs, in order,
     312     * So when would it be run? We have Travis CI run `npm run test` which then runs, in order,
    313313     * `qunit:compiled` (which runs the build) and then `phpunit`. Thus, this test will at least be
    314314     * run during continuous integration.
Note: See TracChangeset for help on using the changeset viewer.