1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

box.json -> box.json.dist, use non-deprecated command to build

This commit is contained in:
Bruce Weirdan 2018-03-05 09:45:00 +02:00 committed by Matthew Brown
parent 716ed8b2f9
commit c2275f388a
2 changed files with 2 additions and 1 deletions

View File

@ -4,12 +4,13 @@ if ! php -r 'extension_loaded("bz2") or exit(1);' ; then
exit 1
fi
composer global require 'humbug/php-scoper:^1.0@dev'
composer global require humbug/box:dev-master
composer install --no-dev
[ -d build ] || mkdir build
# increase FD limit, or Phar compression will fail
ulimit -Sn 4096
php -dphar.readonly=0 `which box` build
php -dphar.readonly=0 `which box` compile
# reinstall deps (to regenerate autoloader and bring back dev deps)
rm -Rf vendor/*