]> git.phdru.name Git - git-scripts.git/blob - hooks/post-checkout/compyle-all
Simplify regular expressions for `compileall`
[git-scripts.git] / hooks / post-checkout / compyle-all
1 #!/bin/sh
2
3 # post-checkout hook that compiles python files to byte code
4
5 python    -m compileall -q -x '\.tox/' . &&
6 python -O -m compileall -q -x '\.tox/' .
7
8 exit 0