]> git.mxchange.org Git - friendica.git/blob - bin/dev/setup-phpunit.sh
Update Level-2/Dice
[friendica.git] / bin / dev / setup-phpunit.sh
1 #!/bin/bash
2
3 PHPUNIT="$(git rev-parse --show-toplevel)/bin/phpunit"
4
5 if ! [ -x "$PHPUNIT" ]; then
6         echo "Install PHPUnit 8"
7         cd /tmp/
8         curl -s -O -L https://phar.phpunit.de/phpunit-8.phar
9         chmod +x phpunit-8.phar
10         mv phpunit-8.phar $PHPUNIT
11 fi
12
13 echo "Using $PHPUNIT $($PHPUNIT --version)"