mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
362 B
11 lines
362 B
.DEFAULT_GOAL := help
|
|
|
|
tests: ## Run tests with coverage
|
|
go test -v -cover ./...
|
|
|
|
profile_tests: ## Run tests and output coverage profiling
|
|
go test -v -coverprofile=coverage.out .
|
|
go tool cover -html=coverage.out
|
|
|
|
help:
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
|