Last active
August 29, 2015 14:25
-
-
Save EdaCZ/25f62da858a54844fc80 to your computer and use it in GitHub Desktop.
Runner for Nette\Tester
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/sh | |
VARIABLE=${1:-./tests} | |
if [ "$2" = "-w" ]; then | |
echo "Watching dir\n" | |
./vendor/bin/tester --stop-on-fail -c /etc/php5/apache2/php.ini -p php -w $VARIABLE -w . | |
else | |
echo "Run once\n" | |
./vendor/bin/tester --stop-on-fail -c /etc/php5/apache2/php.ini -p php $VARIABLE | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment