]> git.phdru.name Git - git-scripts.git/blobdiff - hooks/post-merge
Add post-merge and post-rewrite hooks
[git-scripts.git] / hooks / post-merge
diff --git a/hooks/post-merge b/hooks/post-merge
new file mode 100755 (executable)
index 0000000..3bdcf5e
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# post-merge hook that compiles python files to byte code
+
+python2.7 -m compileall -q . &&
+python2.7 -O -m compileall -q .
+
+exit 0