Created
February 4, 2013 18:26
-
-
Save tmhedberg/4708528 to your computer and use it in GitHub Desktop.
Git pre-commit hook for running RSpec test suite
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
| #!/bin/bash | |
| bundle exec rspec & | |
| trap ' | |
| kill -INT $! | |
| kill -INT $! | |
| wait | |
| echo | |
| ' INT | |
| wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment