[aur-dev] [PATCH] Add an example post-checkout hook

Lukas Fleischer lfleischer at archlinux.org
Thu Feb 11 18:17:30 UTC 2016


Add a shell script that rebuild the documentation and install
translations. Can be executed manually or used as a post-checkout hook
in Git.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 upgrading/post-checkout | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100755 upgrading/post-checkout

diff --git a/upgrading/post-checkout b/upgrading/post-checkout
new file mode 100755
index 0000000..7ad41cf
--- /dev/null
+++ b/upgrading/post-checkout
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+( cd doc/ && make )
+( cd po/ && make && make install )
-- 
2.7.1


More information about the aur-dev mailing list