chore: add setup-hooks target to Makefile

Add convenient 'make setup-hooks' command for configuring git hooks.
This makes onboarding easier for new contributors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jon Leopard
2025-11-16 21:44:59 -07:00
parent 0d4d57c51f
commit 8e1162a1c9

View File

@@ -271,6 +271,13 @@ install: ## Initial project setup
@echo " 2. Run 'make dev' to start development environment"
@echo " 3. Run 'make migrate' to set up database"
setup-hooks: ## Configure git hooks for code quality
@git config core.hooksPath .githooks
@chmod +x .githooks/*
@echo "✅ Git hooks configured!"
@echo " - pre-commit: Auto-formats code with Laravel Pint"
@echo " - pre-push: Optionally runs tests before pushing"
mailpit: ## Open Mailpit web UI
@open http://localhost:8025 || xdg-open http://localhost:8025 || echo "Open http://localhost:8025 in your browser"