diff options
| author | Jez Ng | 2012-11-03 14:36:20 -0400 | 
|---|---|---|
| committer | Jez Ng | 2012-11-03 14:36:20 -0400 | 
| commit | 0de3404a19779f33d19790488403dbf1335389c6 (patch) | |
| tree | e461dc610c85d29f4e0b24f96e52316e3c884860 /git_hooks | |
| parent | c0b317a62ae4552d6be32ab066f2514d1fd683eb (diff) | |
| download | vimium-0de3404a19779f33d19790488403dbf1335389c6.tar.bz2 | |
Skip trying to run tests if build fails.
Diffstat (limited to 'git_hooks')
| -rwxr-xr-x | git_hooks/pre-commit | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/git_hooks/pre-commit b/git_hooks/pre-commit index 495e618e..0a21e79b 100755 --- a/git_hooks/pre-commit +++ b/git_hooks/pre-commit @@ -14,8 +14,7 @@ git checkout-index --prefix=$TDIR/ -af  cp -r ./tests/shoulda.js/ $TDIR/tests/shoulda.js/  pushd $TDIR > /dev/null -  cake build -  cake test +  cake build && cake test    TEST_RESULT=$?  popd > /dev/null | 
