aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/prometheus/procfs/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/prometheus/procfs/Makefile.common')
-rw-r--r--vendor/github.com/prometheus/procfs/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/prometheus/procfs/Makefile.common b/vendor/github.com/prometheus/procfs/Makefile.common
index 73052b3..4f18ea5 100644
--- a/vendor/github.com/prometheus/procfs/Makefile.common
+++ b/vendor/github.com/prometheus/procfs/Makefile.common
@@ -73,6 +73,7 @@ PROMU_VERSION ?= 0.3.0
73PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz 73PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
74 74
75GOLANGCI_LINT := 75GOLANGCI_LINT :=
76GOLANGCI_LINT_OPTS ?=
76GOLANGCI_LINT_VERSION ?= v1.16.0 77GOLANGCI_LINT_VERSION ?= v1.16.0
77# golangci-lint only supports linux, darwin and windows platforms on i386/amd64. 78# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
78# windows isn't included here because of the path separator being different. 79# windows isn't included here because of the path separator being different.
@@ -166,7 +167,7 @@ ifdef GO111MODULE
166# 'go list' needs to be executed before staticcheck to prepopulate the modules cache. 167# 'go list' needs to be executed before staticcheck to prepopulate the modules cache.
167# Otherwise staticcheck might fail randomly for some reason not yet explained. 168# Otherwise staticcheck might fail randomly for some reason not yet explained.
168 GO111MODULE=$(GO111MODULE) $(GO) list -e -compiled -test=true -export=false -deps=true -find=false -tags= -- ./... > /dev/null 169 GO111MODULE=$(GO111MODULE) $(GO) list -e -compiled -test=true -export=false -deps=true -find=false -tags= -- ./... > /dev/null
169 GO111MODULE=$(GO111MODULE) $(GOLANGCI_LINT) run $(pkgs) 170 GO111MODULE=$(GO111MODULE) $(GOLANGCI_LINT) run $(GOLANGCI_LINT_OPTS) $(pkgs)
170else 171else
171 $(GOLANGCI_LINT) run $(pkgs) 172 $(GOLANGCI_LINT) run $(pkgs)
172endif 173endif