Edit Makefile
This commit is contained in:
parent
9a16e22c80
commit
380a89228b
|
@ -1 +0,0 @@
|
||||||
doesnotexist
|
|
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ UNAME := $(shell sh -c 'uname')
|
||||||
VERSION := $(shell sh -c 'git describe --always --tags')
|
VERSION := $(shell sh -c 'git describe --always --tags')
|
||||||
|
|
||||||
build: prepare
|
build: prepare
|
||||||
CGO_ENABLED=0 GOOS=linux ARCH=amd64 $(GOPATH)/bin/godep go build -a -installsuffix cgo \
|
CGO_ENABLED=0 $(GOPATH)/bin/godep go build -a -installsuffix cgo \
|
||||||
-o telegraf \
|
-o telegraf \
|
||||||
-ldflags \
|
-ldflags \
|
||||||
"-X main.Version $(VERSION)" \
|
"-X main.Version $(VERSION)" \
|
||||||
|
|
Loading…
Reference in New Issue