mirror of
https://github.com/friendica/friendica
synced 2024-11-18 03:43:40 +00:00
14 lines
289 B
Bash
14 lines
289 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
PHPUNIT="$(git rev-parse --show-toplevel)/bin/phpunit"
|
||
|
|
||
|
if ! [ -x "$PHPUNIT" ]; then
|
||
|
echo "Install PHPUnit 8"
|
||
|
cd /tmp/
|
||
|
curl -s -O -L https://phar.phpunit.de/phpunit-8.phar
|
||
|
chmod +x phpunit-8.phar
|
||
|
mv phpunit-8.phar $PHPUNIT
|
||
|
fi
|
||
|
|
||
|
echo "Using $PHPUNIT $($PHPUNIT --version)"
|