]> git.phdru.name Git - git-scripts.git/blob - hooks/post-checkout/compyle-all
Add post-checkout hook that compiles python files
[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 python2.7 -m compileall -q . &&
6 python2.7 -O -m compileall -q .
7
8 exit 0