Created
February 8, 2013 08:51
-
-
Save dreamr/4737522 to your computer and use it in GitHub Desktop.
run tests with a pre-commit to keep me honest
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/sh | |
## .git/hooks/pre-commit | |
bundle exec rake db:migrate | |
bundle exec rake db:test:prepare | |
bundle exec rake test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment