X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=hooks%2Fpost-merge;h=633a1d0dd12c2665ea04880e59ce7ffe259fa941;hp=3bdcf5efbad5caee325885ee5029bf0c0ab5c55f;hb=11f9b3e2837ea214ee8cccf69704b3314a8ffba9;hpb=472be778aa9f5725f3a7757baa5c791b32182f2c diff --git a/hooks/post-merge b/hooks/post-merge index 3bdcf5e..633a1d0 100755 --- a/hooks/post-merge +++ b/hooks/post-merge @@ -2,7 +2,7 @@ # post-merge 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