Paste P6488

operations/puppet run tests before commit
ActivePublic

Authored by hashar on Tue, Dec 19, 8:31 PM.
1$ cat .git/hooks/pre-commit
2set -x
3git diff-index --check --cached HEAD --
4bundle exec rake -j=1 test
5
hashar created this paste.Tue, Dec 19, 8:31 PM