mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-28 06:29:29 +01:00
Makefile: add missing verify targets
This commit is contained in:
12
Makefile
12
Makefile
@@ -62,6 +62,14 @@ push: push-container-to-gcloud
|
|||||||
clean:
|
clean:
|
||||||
rm -rf _output
|
rm -rf _output
|
||||||
|
|
||||||
|
verify: verify-gofmt verify-vendor lint
|
||||||
|
|
||||||
|
verify-gofmt:
|
||||||
|
./hack/verify-gofmt.sh
|
||||||
|
|
||||||
|
verify-vendor:
|
||||||
|
./hack/verify-vendor.sh
|
||||||
|
|
||||||
test-unit:
|
test-unit:
|
||||||
./test/run-unit-tests.sh
|
./test/run-unit-tests.sh
|
||||||
|
|
||||||
@@ -76,6 +84,6 @@ gen:
|
|||||||
go mod tidy
|
go mod tidy
|
||||||
lint:
|
lint:
|
||||||
ifndef HAS_GOLANGCI
|
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
|
endif
|
||||||
golangci-lint run
|
./_output/bin/golangci-lint run
|
||||||
|
|||||||
Reference in New Issue
Block a user