# Default goal when running `make` .DEFAULT_GOAL := help .PHONY: help all-tests binaries commit contract coverage install integration reinstall shipit unit updatedeps # Help command to list all available targets help: ## Show this help message @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' all-tests: ## Run all tests, including linting, formatting, and 'go mod tidy' ./scripts/all-tests.sh binaries: ## Create binaries for multiple platforms ./scripts/binaries.sh commit: ## Generate a commit message using ChatGPT based on git diff git status -vv | chatgpt -n -p ../prompts/create_git_diff_commit.md contract: ## Run contract tests ./scripts/contract.sh coverage: ## Generate a combined coverage report for unit, integration, and contract tests ./scripts/coverage.sh install: ## Build the binaries for the specified OS (default: darwin) ./scripts/install.sh $(TARGET_OS) integration: ## Run integration tests ./scripts/integration.sh reinstall: ## Reinstall binaries (default target OS: darwin) ./scripts/reinstall.sh $(TARGET_OS) .PHONY: shipit shipit: ## Run the release script, create binaries, and generate release notes ./scripts/shipit.sh $(version) "$(message)" unit: ## Run unit tests ./scripts/unit.sh updatedeps: ## Update dependencies and vendor them ./scripts/updatedeps.sh