virtualx-engine/misc/hooks/pre-commit-makerst
Hugo Locurcio 17add2dc86
Add a pre-commit hook to check the class reference syntax
This also makes documentation helper scripts executable.
2019-12-06 23:40:19 +01:00

5 lines
152 B
Bash
Executable file

#!/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