X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=hooks%2Fpost-merge;fp=hooks%2Fpost-merge;h=2df0670c3aa8126c5737e2a1af74b14d97c2e091;hp=633a1d0dd12c2665ea04880e59ce7ffe259fa941;hb=a714b68774b0ab9ca79442740bdd4636a41cdd1f;hpb=a5ac4fd44db26c6ade47f28a75ee533891fd6fcc diff --git a/hooks/post-merge b/hooks/post-merge index 633a1d0..2df0670 100755 --- a/hooks/post-merge +++ b/hooks/post-merge @@ -2,7 +2,7 @@ # post-merge 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