summaryrefslogtreecommitdiff
path: root/misc/hooks/pre-commit-makerst
diff options
context:
space:
mode:
Diffstat (limited to 'misc/hooks/pre-commit-makerst')
-rwxr-xr-xmisc/hooks/pre-commit-makerst5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/hooks/pre-commit-makerst b/misc/hooks/pre-commit-makerst
new file mode 100755
index 0000000000..d9b684e73b
--- /dev/null
+++ b/misc/hooks/pre-commit-makerst
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+# Git pre-commit hook that checks the class reference syntax using makerst.py.
+
+doc/tools/makerst.py doc/classes modules --dry-run