diff --git a/Makefile b/Makefile index 7f8f6dac65..b04e18f606 100644 --- a/Makefile +++ b/Makefile @@ -211,11 +211,6 @@ ifeq ("$(wildcard $(GOPKGDIR))","") endif touch $@ -.PHONY: .gitvalidation -.gitvalidation: .gopathok - @echo "Validating vs commit '$(call err_if_empty,EPOCH_TEST_COMMIT)'" - GIT_CHECK_EXCLUDE="./vendor:docs/make.bat" $(GOBIN)/git-validation -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..$(HEAD) - .PHONY: lint lint: golangci-lint @echo "Linting vs commit '$(call err_if_empty,EPOCH_TEST_COMMIT)'" @@ -261,7 +256,7 @@ codespell: codespell -S bin,vendor,.git,go.sum,changelog.txt,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.tar,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L uint,iff,od,seeked,splitted,marge,ERRO,hist,ether -w .PHONY: validate -validate: gofmt lint .gitvalidation validate.completions man-page-check swagger-check tests-included +validate: gofmt lint validate.completions man-page-check swagger-check tests-included .PHONY: build-all-new-commits build-all-new-commits: @@ -753,7 +748,7 @@ install.systemd: endif .PHONY: install.tools -install.tools: .install.goimports .install.gitvalidation .install.md2man .install.ginkgo .install.golangci-lint .install.bats ## Install needed tools +install.tools: .install.goimports .install.md2man .install.ginkgo .install.golangci-lint .install.bats ## Install needed tools .install.goimports: .gopathok if [ ! -x "$(GOBIN)/goimports" ]; then \ @@ -767,12 +762,6 @@ install.tools: .install.goimports .install.gitvalidation .install.md2man .instal $(GO) install $(BUILDFLAGS) ./vendor/github.com/onsi/ginkgo/ginkgo ; \ fi -.PHONY: .install.gitvalidation -.install.gitvalidation: .gopathok - if [ ! -x "$(GOBIN)/git-validation" ]; then \ - $(call go-get,github.com/vbatts/git-validation); \ - fi - .PHONY: .install.golangci-lint .install.golangci-lint: .gopathok VERSION=1.36.0 GOBIN=$(GOBIN) sh ./hack/install_golangci.sh