git mv pre_commit/resources/pre-commit.sh pre_commit/resources/pre-commit-hook

This commit is contained in:
Anthony Sottile
2014-06-16 13:07:54 -07:00
parent 39470c98ca
commit a744a6484e
4 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
which pre-commit > /dev/null
if [ $? -ne 0 ]; then
echo '`pre-commit` not found. Did you forget to activate your virtualenv?'
exit 1
fi
pre-commit