aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2ade6e1..3838597 100644
--- a/Makefile
+++ b/Makefile
@@ -431,6 +431,13 @@ audit: ## Verify project .ai/ dirs against canonical ([APPLY=1] [FORCE=1] [NO_DO
$(if $(FORCE),--force) \
$(if $(NO_DOCTOR),--no-doctor)
+sync-check: ## Verify claude-templates/.ai/ canonical matches .ai/ mirror ([FIX=1])
+ @bash scripts/sync-check.sh $(if $(FIX),--fix)
+
+install-githooks: ## Point this repo's core.hooksPath at githooks/ (idempotent — enables pre-commit sync-check)
+ @git config core.hooksPath githooks
+ @echo "core.hooksPath=githooks (pre-commit will run scripts/sync-check.sh)"
+
install-ai: ## Bootstrap .ai/ in a fresh project ([PROJECT=<path>] [TRACK=1 | GITIGNORE=1])
@bash scripts/install-ai.sh \
$(if $(TRACK),--track) \