1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/bin/build-phar.sh
2018-03-08 19:14:06 -05:00

12 lines
299 B
Bash
Executable File

#!/usr/bin/env bash
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
box build
# reinstall deps (to regenerate autoloader and bring back dev deps)
rm -Rf vendor/*
composer install