X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=hooks%2Fpost-merge;h=633a1d0dd12c2665ea04880e59ce7ffe259fa941;hb=d2285ab979176bcccc9162b0ad3f23a631c44ff5;hp=3bdcf5efbad5caee325885ee5029bf0c0ab5c55f;hpb=4ee616e868a3a9bf83d57db6bdf171babfa80d9e;p=git-scripts.git 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