Commit 0df75a01 authored by Alasdair Keyes's avatar Alasdair Keyes

Commit pre-commit git hook

parent 87387b4a
#!/bin/sh
failed_test () {
echo "Failed pre-commit tests"
exit 1;
}
for FILE in `find lib/ -type f -name *.pm`; do
perl -Ilib -c "$FILE" || failed_test
done
prove t/ || failed_test
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment