X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=hooks%2Fpost-checkout%2Fcompyle-all;fp=hooks%2Fpost-checkout%2Fcompyle-all;h=3cdae190189e87dabb836aa8286e7ca364addfe1;hb=a714b68774b0ab9ca79442740bdd4636a41cdd1f;hp=d4887f6a554c092940c3c904d243e1384cc835eb;hpb=a5ac4fd44db26c6ade47f28a75ee533891fd6fcc;p=git-scripts.git diff --git a/hooks/post-checkout/compyle-all b/hooks/post-checkout/compyle-all index d4887f6..3cdae19 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 -python -m compileall -q -x '\.tox/.+' . && -python -O -m compileall -q -x '\.tox/.+' . +python -m compileall -q -x '\.tox/' . && +python -O -m compileall -q -x '\.tox/' . exit 0