Run tests with every change in the app or tests code
#!/bin/bash | |
if ! which inotifywait > /dev/null; then | |
echo "You must install the inotify-tools package to use this script"; | |
exit 1; | |
fi | |
while true; do | |
inotifywait -r -e modify src/ tests/ --excludei "(tpl|js|css|jpg|png|yml|yaml)$" && | |
clear && | |
ant phpunit; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment