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 ruby | |
# git pre-commit hook | |
# | |
# This will ensure 100% code coverage and all specs passing before allowing a commit | |
# to the git repo. | |
# | |
# Place the file at .git/hooks/pre-commit and use chmod a+x to make it executable. | |
system('rake clean >/dev/null 2>&1') |
NewerOlder