We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6051eeb commit 7a393feCopy full SHA for 7a393fe
Makefile
@@ -358,6 +358,13 @@ docker-static-ip-test-certs-metrics-proxy-run:
358
/bin/bash -c "cd /etcd && /certs-metrics-proxy/run.sh && rm -rf m*.etcd"
359
360
361
+# Tools
362
+GOLANGCI_LINT_VERSION = $(shell cd tools/mod && go list -m -f {{.Version}} github.com/golangci/golangci-lint)
363
+.PHONY: install-golangci-lint
364
+install-golangci-lint:
365
+ifeq (, $(shell which golangci-lint))
366
+ $(shell curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin $(GOLANGCI_LINT_VERSION))
367
+endif
368
369
# Example:
370
# make build-docker-test
0 commit comments