From 1970d79337a7f22ce5187107a3cad8d7f6426cc2 Mon Sep 17 00:00:00 2001 From: Tomusdrw Date: Fri, 22 Jan 2016 08:09:16 +0100 Subject: [PATCH] Adding git hook --- hook.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 hook.sh diff --git a/hook.sh b/hook.sh new file mode 100755 index 000000000..a82f926b9 --- /dev/null +++ b/hook.sh @@ -0,0 +1,3 @@ +#!/bin/sh +echo "#!/bin/sh\ncargo test" >> ./.git/hooks/pre-push +chmod +x ./.git/hooks/pre-push