summaryrefslogtreecommitdiff
path: root/githooks-installer.sh
diff options
context:
space:
mode:
authorKajetan <[email protected]>2023-03-02 21:54:59 +0100
committerKajetan <[email protected]>2023-03-02 21:54:59 +0100
commitdb63470ee932941f292069c00890845e69de40d3 (patch)
treec4269f238eaaba2448f3560f4aa2c27511c774c6 /githooks-installer.sh
parent58dfc803373800e4ced0e8bcce5bcd1db0f2b7f6 (diff)
feat: git hooks for go linter
Diffstat (limited to 'githooks-installer.sh')
-rwxr-xr-xgithooks-installer.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/githooks-installer.sh b/githooks-installer.sh
new file mode 100755
index 00000000..b97d0a9a
--- /dev/null
+++ b/githooks-installer.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+cp ./.githooks/pre-commit .git/hooks/pre-commit
+
+echo "DONE" \ No newline at end of file