Last active
August 29, 2015 14:16
-
-
Save cmattoon/fe8a28be83efafcc4846 to your computer and use it in GitHub Desktop.
PHPUnit Install Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$EUID" != "0" ]; then | |
echo "You must be root" | |
exit 1; | |
fi | |
wget https://phar.phpunit.de/phpunit.phar -O /usr/local/bin/phpunit && chmod +x /usr/local/bin/phpunit | |
echo "$(which phpunit)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment