mirror of
https://github.com/prometheus/node_exporter
synced 2024-12-23 14:42:33 +00:00
Release v0.6.0
This commit is contained in:
parent
0add2c9bd6
commit
d06281286d
6
Makefile
6
Makefile
@ -1,4 +1,4 @@
|
|||||||
VERSION := 0.4.0
|
VERSION := 0.6.0
|
||||||
|
|
||||||
SRC := $(wildcard *.go)
|
SRC := $(wildcard *.go)
|
||||||
TARGET := node_exporter
|
TARGET := node_exporter
|
||||||
@ -8,7 +8,7 @@ ARCH := $(subst x86_64,amd64,$(shell uname -m))
|
|||||||
|
|
||||||
GOOS ?= $(OS)
|
GOOS ?= $(OS)
|
||||||
GOARCH ?= $(ARCH)
|
GOARCH ?= $(ARCH)
|
||||||
GOPKG := go1.2.1.$(OS)-$(ARCH).tar.gz
|
GOPKG := go1.3.3.$(OS)-$(ARCH).tar.gz
|
||||||
GOROOT ?= $(CURDIR)/.deps/go
|
GOROOT ?= $(CURDIR)/.deps/go
|
||||||
GOPATH ?= $(CURDIR)/.deps/gopath
|
GOPATH ?= $(CURDIR)/.deps/gopath
|
||||||
GOCC := $(GOROOT)/bin/go
|
GOCC := $(GOROOT)/bin/go
|
||||||
@ -24,7 +24,7 @@ default:
|
|||||||
|
|
||||||
.deps/$(GOPKG):
|
.deps/$(GOPKG):
|
||||||
mkdir -p .deps
|
mkdir -p .deps
|
||||||
curl -o .deps/$(GOPKG) http://go.googlecode.com/files/$(GOPKG)
|
curl -o .deps/$(GOPKG) https://storage.googleapis.com/golang/$(GOPKG)
|
||||||
|
|
||||||
$(GOCC): .deps/$(GOPKG)
|
$(GOCC): .deps/$(GOPKG)
|
||||||
tar -C .deps -xzf .deps/$(GOPKG)
|
tar -C .deps -xzf .deps/$(GOPKG)
|
||||||
|
Loading…
Reference in New Issue
Block a user