Update local instance of composer.phar on upgrade. (#7940)

Co-authored-by: Johnny Moore <jmoore@eventide.com>
This commit is contained in:
snipe 2020-04-07 13:21:55 -07:00 committed by GitHub
commit 7f18983a49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,6 +109,10 @@ echo "--------------------------------------------------------\n\n";
// Composer install
if (file_exists('composer.phar')) {
echo "-- Local composer.phar detected, so we'll use that.\n\n";
echo "-- Updating local composer.phar\n\n";
$composer_update = shell_exec('php composer.phar self-update');
echo $composer_update."\n\n";
$composer_dump = shell_exec('php composer.phar dump');
$composer = shell_exec('php composer.phar install --no-dev --prefer-source');