X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=hooks%2Fpost-rewrite;h=59efb3dcfc7f6eda57f24c42bb53660a19cf4d81;hb=a714b68774b0ab9ca79442740bdd4636a41cdd1f;hp=df28442064f11766915c5abe2c3a5112b2664a64;hpb=11f9b3e2837ea214ee8cccf69704b3314a8ffba9;p=git-scripts.git 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