Changeset 7006 for trunk/Gruntfile.js
- Timestamp:
- 11/24/2019 01:38:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r6912 r7006 222 222 } 223 223 }, 224 phpcs: { 225 'default': { 226 cmd: 'phpcs', 227 args: [ '--standard=phpcs.xml.dist', '--report-summary', '--report-source', '--cache=.phpcscache' ] 228 } 229 }, 224 230 phpunit: { 225 231 'default': { … … 390 396 grunt.registerTask( 'release', [ 'build' ] ); 391 397 398 // PHPCS test task. 399 grunt.registerMultiTask( 'phpcs', 'Runs PHPCS tests.', function() { 400 grunt.util.spawn( { 401 cmd: this.data.cmd, 402 args: this.data.args, 403 opts: { stdio: 'inherit' } 404 }, this.async() ); 405 } ); 406 392 407 // PHPUnit test task. 393 408 grunt.registerMultiTask( 'phpunit', 'Runs PHPUnit tests, including the BuddyPress and multisite tests.', function() {
Note: See TracChangeset
for help on using the changeset viewer.