mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
543 B
31 lines
543 B
.PHONY: info
|
|
info:
|
|
@echo "Build tag: ${TAG}"
|
|
@echo "Registry: ${DOCKER_REGISTRY}"
|
|
@echo "Project: ${PROJECT}"
|
|
@echo "Image: ${IMAGE}"
|
|
|
|
.PHONY: test-unit
|
|
test-unit:
|
|
@echo Running tests...
|
|
go test -v ./...
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
@echo Running golint...
|
|
golint ./...
|
|
@echo -----------------
|
|
|
|
.PHONY: vet
|
|
vet:
|
|
@echo Running go vet...
|
|
go vet ./...
|
|
@echo -----------------
|
|
|
|
.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
|