Last active
April 12, 2017 07:15
-
-
Save sebastiandedeyne/5d110b58a404918e8894f353c42de417 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
function pw { | |
run="clear && printf '\e[3J' && vendor/bin/phpunit" | |
[[ -n $@ ]] && args=$@ || args="tests" | |
eval "$run $args" | |
watchman-make \ | |
-p 'src/**/*.php' 'tests/**/*.php' \ | |
--make=$run \ | |
-t "$args" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment