From 132d9355bd64dea262ce790ece9a70e3cbcce6bf Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 19 Jul 2011 10:47:24 -0400 Subject: [PATCH] changes and hooks and junk --- CHANGELOG.md | 1 + dev-bin/hooks/pre-commit | 5 +++++ dev-bin/install-hooks | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100755 dev-bin/hooks/pre-commit create mode 100755 dev-bin/install-hooks diff --git a/CHANGELOG.md b/CHANGELOG.md index 7844fcf..60b8156 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * File and line number information for failing specs * Try to build the runner if it's missing +* Kill warnings and streamline includes ## 0.5.0 diff --git a/dev-bin/hooks/pre-commit b/dev-bin/hooks/pre-commit new file mode 100755 index 0000000..75c11e3 --- /dev/null +++ b/dev-bin/hooks/pre-commit @@ -0,0 +1,5 @@ +#!/bin/bash + +bundle exec rake +if [ $? -ne 0 ]; then exit 1; fi + diff --git a/dev-bin/install-hooks b/dev-bin/install-hooks new file mode 100755 index 0000000..5a7809c --- /dev/null +++ b/dev-bin/install-hooks @@ -0,0 +1,6 @@ +#!/bin/bash + +for i in $PWD/dev-bin/hooks/*; do + ln -sf $i .git/hooks/${i##*/} +done +