diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) \ |
