Mention yum/apt repo in README

Also add `make windows-build` to Makefile

closes #618
This commit is contained in:
Cameron Sparr
2016-01-30 11:30:01 -07:00
parent b97027ac9a
commit 042cf517b2
2 changed files with 15 additions and 4 deletions

View File

@@ -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 \