X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=hooks%2Fpost-checkout%2Fcompyle-all;h=d4887f6a554c092940c3c904d243e1384cc835eb;hb=11f9b3e2837ea214ee8cccf69704b3314a8ffba9;hp=daf6ab3d995c7f46a69b207acc392c893706105f;hpb=d38be90c1d67717c7113486414e65d8b2c8c4151;p=git-scripts.git diff --git a/hooks/post-checkout/compyle-all b/hooks/post-checkout/compyle-all index daf6ab3..d4887f6 100755 --- a/hooks/post-checkout/compyle-all +++ b/hooks/post-checkout/compyle-all @@ -2,7 +2,7 @@ # post-checkout hook that compiles python files to byte code -python2.7 -m compileall -q . && -python2.7 -O -m compileall -q . +python -m compileall -q -x '\.tox/.+' . && +python -O -m compileall -q -x '\.tox/.+' . exit 0