| 1 | .PHONY: help test |
| 2 | .DEFAULT_GOAL := help |
| 3 | |
| 4 | help: ## Displays this help message. |
| 5 | @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) |
| 6 | |
| 7 | test: ## Runs the linter, tests, and vetting. |
| 8 | golangci-lint run ./... |
| 9 | go test -cover -race -count=1 ./... |
| 10 | go vet ./... |
| 11 | |
| 12 | ci: ## Runs on the tests and vetting for CI. |
| 13 | go test -cover -race -count=1 ./... |
| 14 | go vet ./... |