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

12 lines
252 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-03-02 02:08:10 +01:00
if ! php -r 'extension_loaded("bz2") or exit(1);' ; then
echo "You need to install (or enable) bz2 php extension"
exit 1
fi
2018-04-08 18:36:29 +02:00
composer bin box install
2018-03-11 17:35:46 +01:00
2018-04-08 18:36:29 +02:00
vendor/bin/box compile
2018-03-11 17:35:46 +01:00
2018-04-08 18:36:29 +02:00
bin/psalm.phar --config=bin/phar.psalm.xml --root=src