aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pre-push
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pre-push')
-rwxr-xr-xscripts/pre-push7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/pre-push b/scripts/pre-push
new file mode 100755
index 000000000..00d4c5071
--- /dev/null
+++ b/scripts/pre-push
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+# Can be used as a pre-push hook
+# Just symlink this file to .git/hooks/pre-push
+
+echo "Running style check..."
+./scripts/style-check.sh