Fragment gemist bijna af
This commit is contained in:
21
website/vendor/psy/psysh/bin/build-vendor-compat
vendored
Executable file
21
website/vendor/psy/psysh/bin/build-vendor-compat
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd "${BASH_SOURCE%/*}/.."
|
||||
|
||||
rm -rf build-vendor
|
||||
rm composer*.lock
|
||||
|
||||
cp composer.json composer-compat.json
|
||||
|
||||
if [[ $(php --version) = PHP\ 5.3* ]]; then
|
||||
HOA_VERSION=^1.14
|
||||
fi
|
||||
|
||||
COMPOSER=composer-compat.json COMPOSER_VENDOR_DIR=build-vendor \
|
||||
composer require symfony/intl hoa/console $HOA_VERSION --no-progress --no-update --no-interaction --verbose
|
||||
|
||||
COMPOSER=composer-compat.json COMPOSER_VENDOR_DIR=build-vendor \
|
||||
composer update --prefer-stable --no-dev --no-progress --classmap-authoritative --no-interaction --verbose
|
||||
|
||||
Reference in New Issue
Block a user