windows_exporter/Makefile

26 lines
479 B
Makefile
Raw Normal View History

export GOOS=windows
2018-10-04 18:42:29 +00:00
lint:
gometalinter --vendor --config gometalinter.config ./...
test:
go test -v ./...
2017-08-09 23:32:54 +00:00
build:
2017-09-08 08:11:31 +00:00
promu build -v
test:
go test -v ./...
2018-10-02 07:25:01 +00:00
lint:
gometalinter --vendor --config gometalinter.config ./...
fmt:
gofmt -l -w -s .
crossbuild:
# The prometheus/golang-builder image for promu crossbuild doesn't exist
# on Windows, so for now, we'll just build twice
GOARCH=amd64 promu build --prefix=output/amd64
GOARCH=386 promu build --prefix=output/386