Files
pre-commit/pre_commit/resources/pre-commit.sh
2014-03-22 17:21:17 -07:00

10 lines
178 B
Bash
Executable File

#!/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