mirror of https://github.com/helm/helm
parent
ef665993dd
commit
46588cd9dd
@ -1,4 +1,21 @@
|
|||||||
SETUP_GOTOOLS := @echo "Installing golint and vet" && go get -u github.com/golang/lint/golint && go get -u -v golang.org/x/tools/cmd/vet
|
.PHONY: test-unit
|
||||||
GO_VET := @echo "Running go vet ..." && go vet ./...
|
test-unit:
|
||||||
GO_LINT := @echo "Running golint ..." && golint ./...
|
@echo Running tests...
|
||||||
GO_TEST := @echo "Running tests ..." && go test -v ./...
|
go test -v ./...
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
|
lint:
|
||||||
|
@echo Running golint...
|
||||||
|
golint ./...
|
||||||
|
|
||||||
|
.PHONY: vet
|
||||||
|
vet:
|
||||||
|
@echo Running go vet...
|
||||||
|
go vet ./...
|
||||||
|
|
||||||
|
.PHONY: setup-gotools
|
||||||
|
setup-gotools:
|
||||||
|
@echo Installing golint
|
||||||
|
go get -u github.com/golang/lint/golint
|
||||||
|
@echo Installing vet
|
||||||
|
go get -u -v golang.org/x/tools/cmd/vet
|
||||||
|
Loading…
Reference in new issue