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"