From cae6ec719858a5356efeb7e24ff39ae6a0925377 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 20 Jan 2013 23:59:46 -0800 Subject: [PATCH] Add some hooks to automatically rebuild packages as needed Note that to make these work, you'll have to manually $ cd .git/hooks && ln -s ../../.hooks/* . Signed-off-by: Keith Packard --- .hooks/post-checkout | 3 +++ .hooks/post-merge | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 .hooks/post-checkout create mode 100755 .hooks/post-merge diff --git a/.hooks/post-checkout b/.hooks/post-checkout new file mode 100755 index 0000000..8c96b33 --- /dev/null +++ b/.hooks/post-checkout @@ -0,0 +1,3 @@ +#!/bin/sh + +cd packages && make diff --git a/.hooks/post-merge b/.hooks/post-merge new file mode 100755 index 0000000..d94626a --- /dev/null +++ b/.hooks/post-merge @@ -0,0 +1,3 @@ +#!/bin/sh + +exec .hooks/post-checkout -- 2.30.2