penchant/template/script/hooks/pre-commit
2011-08-18 13:22:01 -04:00

13 lines
152 B
Bash
Executable File

#!/bin/bash
OLD_GIT_DIR=$GIT_DIR
unset GIT_DIR
penchant gemfile remote
GIT_DIR=$OLD_GIT_DIR
bundle exec rake
R=$?
if [ $R -ne 0 ]; then exit $R; fi