Add possibiity to run goreportcard locally
See https://goreportcard.com/report/github.com/kubernetes/minikubepull/3841/head
parent
6d96a67456
commit
3bd0d09e22
6
Makefile
6
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue