Skip to content

Commit

Permalink
Merge pull request WordPress#133 from getsource/local_grunt_build
Browse files Browse the repository at this point in the history
Use local Grunt, rather than relying on global.
  • Loading branch information
getsource authored Nov 30, 2020
2 parents 8173fb8 + 347d1fe commit 03ce121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'wget -O ' . escapeshellarg( $WPT_PREPARE_DIR . '/phpunit.phar' ) . ' https://phar.phpunit.de/phpunit-5.7.phar',
'wget -O ' . escapeshellarg( $WPT_PREPARE_DIR . '/tests/phpunit/data/plugins/wordpress-importer.zip' ) . ' https://downloads.wordpress.org/plugin/wordpress-importer.zip',
'cd ' . escapeshellarg( $WPT_PREPARE_DIR . '/tests/phpunit/data/plugins/' ) . '; unzip wordpress-importer.zip; rm wordpress-importer.zip',
'cd ' . escapeshellarg( $WPT_PREPARE_DIR ) . '; npm install && grunt build',
'cd ' . escapeshellarg( $WPT_PREPARE_DIR ) . '; npm install && npm run build',
) );

// Replace variables in the wp-config.php file.
Expand Down

0 comments on commit 03ce121

Please sign in to comment.