Mention yum/apt repo in README
Also add `make windows-build` to Makefile closes #618
This commit is contained in:
7
Makefile
7
Makefile
@@ -10,7 +10,7 @@ endif
|
||||
default: prepare build
|
||||
|
||||
# Windows build
|
||||
windows: prepare-windows build
|
||||
windows: prepare-windows build-windows
|
||||
|
||||
# Only run the build (no dependency grabbing)
|
||||
build:
|
||||
@@ -18,6 +18,11 @@ build:
|
||||
"-X main.Version=$(VERSION)" \
|
||||
./cmd/telegraf/telegraf.go
|
||||
|
||||
build-windows:
|
||||
go build -o telegraf.exe -ldflags \
|
||||
"-X main.Version=$(VERSION)" \
|
||||
./cmd/telegraf/telegraf.go
|
||||
|
||||
# Build with race detector
|
||||
dev: prepare
|
||||
go build -race -o telegraf -ldflags \
|
||||
|
||||
Reference in New Issue
Block a user