Makefile 517 B

12345678910111213141516171819
  1. help: ## Print this help
  2. @grep --no-filename -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sed 's/:.*## /·/' | sort | column -t -W 2 -s '·' -c $(shell tput cols)
  3. all: test ## Run tests
  4. -include rules.mk
  5. -include lint.mk
  6. test: ## Run tests
  7. go test ./...
  8. verify: gofumpt prettier lint ## Verify code style, is lint free, freshness ...
  9. git diff | (! grep .)
  10. fix: gofumpt-fix prettier-fix ## Fix code formatting errors
  11. tools: ${toolsBins} ## Build Go based build tools
  12. .PHONY: all help test tools verify