.PHONY: help build run dev test clean docker-build docker-run k8s-deploy k8s-undeploy help: ## Show this help message @echo 'Usage: make [target]' @echo '' @echo 'Targets:' @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-15s %s\n", $$1, $$2}' $(MAKEFILE_LIST) build: ## Build the Go binary @echo "๐Ÿ”จ Building..." @go build -o bin/passkey-auth . run: build ## Run the application locally @echo "๐Ÿš€ Running..." @./bin/passkey-auth dev: ## Run in development mode with hot reload @echo "๐Ÿ”ง Starting development server..." @./scripts/dev.sh test: ## Run tests @echo "๐Ÿงช Running tests..." @go test -v ./... clean: ## Clean build artifacts @echo "๐Ÿงน Cleaning..." @rm -rf bin/ @rm -f *.db docker-build: ## Build Docker image @echo "๐Ÿณ Building Docker image..." @docker build -t passkey-auth:latest . docker-run: docker-build ## Run with Docker Compose @echo "๐Ÿณ Starting with Docker Compose..." @mkdir -p data @docker-compose up -d @echo "Access the application at http://localhost:8080" deps: ## Download dependencies @echo "๐Ÿ“ฆ Downloading dependencies..." @go mod download @go mod tidy fmt: ## Format code @echo "๐ŸŽจ Formatting code..." @go fmt ./... lint: ## Run linter with auto-fix (excluding test files) @echo "๐Ÿ” Running linter with auto-fix (excluding test files)..." @golangci-lint run --fix --tests=false security: ## Run security scan @echo "๐Ÿ”’ Running security scan..." @gosec ./...