]> git.phdru.name Git - git-scripts.git/blobdiff - hooks/post-checkout/compyle-all
Simplify regular expressions for `compileall`
[git-scripts.git] / hooks / post-checkout / compyle-all
index d4887f6a554c092940c3c904d243e1384cc835eb..3cdae190189e87dabb836aa8286e7ca364addfe1 100755 (executable)
@@ -2,7 +2,7 @@
 
 # post-checkout 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