X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=hooks%2Fpost-checkout%2Fcompyle;h=0952d434b372071a44d088f93a024ddc80512229;hb=11f9b3e2837ea214ee8cccf69704b3314a8ffba9;hp=dce8b0114b3cc200219f6ab63e63848a61cd901b;hpb=472be778aa9f5725f3a7757baa5c791b32182f2c;p=git-scripts.git diff --git a/hooks/post-checkout/compyle b/hooks/post-checkout/compyle index dce8b01..0952d43 100755 --- a/hooks/post-checkout/compyle +++ b/hooks/post-checkout/compyle @@ -8,8 +8,8 @@ new_HEAD="$2" new_branch="$3" if [ "$new_branch" = 1 ]; then - python2.7 -m compileall -q . && - python2.7 -O -m compileall -q . + python -m compileall -q -x '\.tox/.+' . && + python -O -m compileall -q -x '\.tox/.+' . fi exit 0