From 02213f5f5795cede2f4f626c24ab7779ff2612f1 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Sat, 26 Dec 2020 12:47:18 +0100 Subject: [PATCH] Added post-checkout hook to clear build files --- .hooks/post-checkout | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .hooks/post-checkout diff --git a/.hooks/post-checkout b/.hooks/post-checkout new file mode 100755 index 0000000..8c86bfc --- /dev/null +++ b/.hooks/post-checkout @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +# Remove the build directory after checking out a branch +rm -rf build > /dev/null 2>&1