3 # post-checkout hook that compiles python files to byte code
4 # if branch was changed or removes byte code files for a specific branch
10 if [ \( "$new_branch" = 1 \) ]; then
11 if [ "$new_HEAD" = "`git rev-parse phd-pubkey`" ]; then
14 python2.7 -m compileall -q . &&
15 python2.7 -O -m compileall -q .