summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 6f090cf..ec460f5 100755
--- a/setup.sh
+++ b/setup.sh
@@ -3,6 +3,11 @@
set -e
echo ""
+echo "Setting up git hooks..."
+ln -s ../../scripts/git-hooks/pre-commit .git/hooks/pre-commit
+ln -s ../../scripts/git-hooks/pre-push .git/hooks/pre-push
+
+echo ""
echo "Updating git submodules..."
git submodule update --init