Paste P6488

operations/puppet run tests before commit
ActivePublic

Authored by hashar on Dec 19 2017, 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.Dec 19 2017, 8:31 PM