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.
helm/include.mk

33 lines
591 B

.PHONY: info
info:
@echo "Build tag: ${TAG}"
@echo "Registry: ${DOCKER_REGISTRY}"
@echo "Project: ${PROJECT}"
@echo "Image: ${IMAGE}"
TAG ?= $(shell echo `date +"%s"`_`date +"%N"`)
.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