Ticket #50393: 50393.diff
File 50393.diff, 791 bytes (added by , 3 years ago) |
---|
-
Gruntfile.js
1283 1283 ] ); 1284 1284 1285 1285 grunt.registerTask( 'precommit:php', [ 1286 'phpcompat', 1286 1287 'phpunit' 1287 1288 ] ); 1288 1289 … … 1669 1670 } ); 1670 1671 } ); 1671 1672 1673 grunt.registerTask( 'phpcompat', 'Runs PHPCompatibilitiy tests.', function() { 1674 var args = changedFiles.php; 1675 1676 args.unshift( 'compat' ); 1677 1678 grunt.util.spawn({ 1679 cmd: 'composer', 1680 args: args, 1681 opts: { stdio: 'inherit' } 1682 }, this.async()); 1683 }); 1684 1672 1685 grunt.registerTask( 'wp-packages:update', 'Update WordPress packages', function() { 1673 1686 const distTag = grunt.option('dist-tag') || 'latest'; 1674 1687 grunt.log.writeln( `Updating WordPress packages (--dist-tag=${distTag})` );