From 8e1162a1c97a38e4eaa00caddd9cf96a87ded070 Mon Sep 17 00:00:00 2001 From: Jon Leopard Date: Sun, 16 Nov 2025 21:44:59 -0700 Subject: [PATCH] chore: add setup-hooks target to Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index c3fe58b9..59eebf74 100644 --- a/Makefile +++ b/Makefile @@ -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"