From 4bf0551d8f91b71fc6ff77db3fd91aa4b2f3ce6a Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Tue, 14 Jul 2020 16:02:06 +0200 Subject: [PATCH] Makefile: add missing verify targets --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0c2d0b761..e30478ef8 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,14 @@ push: push-container-to-gcloud clean: rm -rf _output +verify: verify-gofmt verify-vendor lint + +verify-gofmt: + ./hack/verify-gofmt.sh + +verify-vendor: + ./hack/verify-vendor.sh + test-unit: ./test/run-unit-tests.sh @@ -76,6 +84,6 @@ gen: go mod tidy lint: ifndef HAS_GOLANGCI - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin ${GOLANGCI_VERSION} + curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ./_output/bin ${GOLANGCI_VERSION} endif - golangci-lint run + ./_output/bin/golangci-lint run