From 3bd0d09e229684a967e9b712b476f06c433dd46d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sun, 10 Mar 2019 14:40:46 +0100 Subject: [PATCH] Add possibiity to run goreportcard locally See https://goreportcard.com/report/github.com/kubernetes/minikube --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 77bec70d47..69a2530f28 100755 --- a/Makefile +++ b/Makefile @@ -227,6 +227,12 @@ gendocs: out/docs/minikube.md fmt: @gofmt -l -s -w $(SOURCE_DIRS) +.PHONY: reportcard +reportcard: + goreportcard-cli -v + # "disabling misspell on large repo..." + -misspell -error $(SOURCE_DIRS) + out/docs/minikube.md: $(shell find cmd) $(shell find pkg/minikube/constants) pkg/minikube/assets/assets.go cd $(GOPATH)/src/$(REPOPATH) && go run -ldflags="$(MINIKUBE_LDFLAGS)" hack/gen_help_text.go