1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
psalm/bin/build-phar.sh
2018-05-15 14:30:14 -04:00

12 lines
252 B
Bash
Executable File

#!/usr/bin/env bash
if ! php -r 'extension_loaded("bz2") or exit(1);' ; then
echo "You need to install (or enable) bz2 php extension"
exit 1
fi
composer bin box install
vendor/bin/box compile
bin/psalm.phar --config=bin/phar.psalm.xml --root=src