Paste P6488

operations/puppet run tests before commit
ActivePublic

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