Created
August 17, 2014 20:26
-
-
Save NicolasFrancaX/51bed57118be70c1468e 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
interactor :off | |
notification :off | |
guard :shell do | |
watch(%r{^test/(.+)_test\.rb$}) { task } | |
watch(%r{^lib/(.+)\.rb$}) { task } | |
watch('Guardfile') { task } | |
end | |
def task | |
`clear && testrb test/` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment