diff --git a/bin/build-phar.sh b/bin/build-phar.sh index 1b1753540..4d5a0cff2 100755 --- a/bin/build-phar.sh +++ b/bin/build-phar.sh @@ -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/* diff --git a/box.json b/box.json.dist similarity index 100% rename from box.json rename to box.json.dist