mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-04 07:51:04 +01:00
commit
c53fd5521e
2
Makefile
2
Makefile
@ -13,6 +13,6 @@
|
|||||||
|
|
||||||
VERSION := 0.11.0
|
VERSION := 0.11.0
|
||||||
TARGET := node_exporter
|
TARGET := node_exporter
|
||||||
GOFLAGS := -ldflags "-X main.Version $(VERSION)"
|
GOFLAGS := -ldflags "-X main.Version=$(VERSION)"
|
||||||
|
|
||||||
include Makefile.COMMON
|
include Makefile.COMMON
|
||||||
|
@ -48,7 +48,7 @@ ifeq ($(GOOS),darwin)
|
|||||||
RELEASE_SUFFIX ?= -osx$(shell sw_vers -productVersion)
|
RELEASE_SUFFIX ?= -osx$(shell sw_vers -productVersion)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GO_VERSION ?= 1.4.2
|
GO_VERSION ?= 1.5.1
|
||||||
GOURL ?= https://golang.org/dl
|
GOURL ?= https://golang.org/dl
|
||||||
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
||||||
GOPATH := $(CURDIR)/.build/gopath
|
GOPATH := $(CURDIR)/.build/gopath
|
||||||
|
Loading…
Reference in New Issue
Block a user