dotfiles/Makefile

16 lines
261 B
Makefile
Raw Normal View History

2022-07-04 05:37:10 +00:00
.PHONY: all test coverage-cli coverate-html lint
all: test lint
test:
go test -race -coverprofile=coverage.out ./...
coverage-cli: test
go tool cover -func=coverage.out
coverage-html: test
go tool cover -html=coverage.out
lint:
golangci-lint run ./...