From: Keith Packard Date: Mon, 21 Jan 2013 07:59:46 +0000 (-0800) Subject: Add some hooks to automatically rebuild packages as needed X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=cae6ec719858a5356efeb7e24ff39ae6a0925377;hp=6d91fc8b750c4543ebacae5d9d0f11acc5820689;p=hw%2Faltusmetrum 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 --- 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