diff options
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,10 +6,13 @@ COVER_HTML=cover.html .PHONY: all test -all: test +all: test lint test: CGO_ENABLED=1 go test -race -coverprofile=$(COVER_OUT) ./... go tool cover -html=$(COVER_OUT) -o $(COVER_HTML) go tool cover -func=$(COVER_OUT) | tail -n1 + +lint: + golangci-lint run ./... fieldalignment ./... |
