From 69acf199451116ff9fa46cdf2368b1bdb46707e4 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 10 Aug 2018 12:07:41 +0200 Subject: [PATCH] Automatically update hashes on commit Signed-off-by: Knut Ahlers --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 562fe31..207b119 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ default: true +auto-hook-pre-commit: hash + git add SHA256SUMS || true + hash: shasum -a 256 *.sh > SHA256SUMS