X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=hooks%2Fpost-rewrite;fp=hooks%2Fpost-rewrite;h=59efb3dcfc7f6eda57f24c42bb53660a19cf4d81;hp=df28442064f11766915c5abe2c3a5112b2664a64;hb=a714b68774b0ab9ca79442740bdd4636a41cdd1f;hpb=a5ac4fd44db26c6ade47f28a75ee533891fd6fcc diff --git a/hooks/post-rewrite b/hooks/post-rewrite index df28442..59efb3d 100755 --- a/hooks/post-rewrite +++ b/hooks/post-rewrite @@ -2,7 +2,7 @@ # post-rewrite 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