Created
April 18, 2016 09:37
-
-
Save TomK/bdc25052f8cfabe3da6bc58c119cd2fd to your computer and use it in GitHub Desktop.
Run PHPUnit from the vendor folder
This file contains 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 [ ! -f vendor/phpunit/phpunit/phpunit ]; then | |
echo 'No PHPUnit installed in vendor directory' | |
exit 1 | |
fi | |
echo 'Executing `phpunit '$@'`...' | |
vendor/phpunit/phpunit/phpunit $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment