🔏 The BIP39 library for Go.
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.
 
 

19 lines
518 B

.DEFAULT_GOAL := help
.PHONY: tests profile_tests build_check
tests: ## Run tests with coverage
@go test -v -coverprofile=coverage.out ./...
profile_tests: tests ## Run tests and output coverage profiling
@go tool cover -html=coverage.out
build_check: ## Checks build and tests
@go build . && go test -v -cover ./...
##
## Help
##
.DEFAULT_GOAL := help
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'