mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Remove PHPUnit dependency & create shell-script with description for it
This commit is contained in:
parent
f6093fb869
commit
7b7322a90a
6 changed files with 36 additions and 1459 deletions
13
bin/dev/setup-phpunit.sh
Executable file
13
bin/dev/setup-phpunit.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/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)"
|
Loading…
Add table
Add a link
Reference in a new issue