feat: add git pre-commit hooks

This commit is contained in:
2026-02-24 00:11:31 +00:00
parent 819e824552
commit ecb375b5f0
3 changed files with 31 additions and 8 deletions
+8
View File
@@ -30,6 +30,14 @@ help:
@echo " make clean Remove build artifacts"
@echo " make format Format QML, C++, JSON, YAML, and Markdown files"
@echo " make lint Run non-mutating lint and formatting checks"
@echo " make hooks-install Configure Git to use versioned hooks from .githooks/"
# Git Hooks
# Configure Git to use versioned hooks stored in this repository.
.PHONY: hooks-install
hooks-install:
git config core.hooksPath .githooks
@echo "Configured core.hooksPath=.githooks"
# C++ Bridge Build Targets
# Generate CMake build files for the C++ QML bridge.