style: restructure makefile #4
4
Makefile
4
Makefile
@@ -1,4 +1,4 @@
|
|||||||
.PHONY: all help install clean test-unit test-mutation test-fuzz test docs lint-go lint-makefile
|
.PHONY: all help install clean test-unit test-mutation test-fuzz test docs lint-go lint-makefile lint
|
||||||
|
|
||||||
help: ## Show this help
|
help: ## Show this help
|
||||||
@grep -E '^[a-zA-Z_-]+:.*##' $(MAKEFILE_LIST) | awk -F ':.*## ' '{printf " %-15s %s\n", $$1, $$2}'
|
@grep -E '^[a-zA-Z_-]+:.*##' $(MAKEFILE_LIST) | awk -F ':.*## ' '{printf " %-15s %s\n", $$1, $$2}'
|
||||||
@@ -39,4 +39,4 @@ docs: ## Serve godoc locally
|
|||||||
clean: ## Clean build and test caches
|
clean: ## Clean build and test caches
|
||||||
go clean -cache -testcache
|
go clean -cache -testcache
|
||||||
|
|
||||||
all: lint-go lint-makefile test ## Run all checks and tests
|
all: lint test ## Run all checks and tests
|
||||||
Reference in New Issue
Block a user