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:
parent
716ed8b2f9
commit
c2275f388a
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user