From bed1f684bd9a8bdc813c42005f43f63876a5fe54 Mon Sep 17 00:00:00 2001 From: sh0rez <me@shorez.de> Date: Fri, 6 Sep 2019 19:53:57 +0200 Subject: [PATCH] chore(packaging): loki windows/amd64 (#981) Builds the loki server binary for windows as well --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3a38febc..3eb04077 100644 --- a/Makefile +++ b/Makefile @@ -194,7 +194,7 @@ cmd/promtail/promtail-debug: $(APP_GO_FILES) pkg/promtail/server/ui/assets_vfsda # concurrency is limited to 4 to prevent CircleCI from OOMing. Sorry GOX = gox $(GO_FLAGS) -parallel=4 -output="dist/{{.Dir}}-{{.OS}}-{{.Arch}}" -arch="amd64 arm64 arm" -os="linux" dist: clean - CGO_ENABLED=0 $(GOX) ./cmd/loki + CGO_ENABLED=0 $(GOX) -osarch="windows/amd64" ./cmd/loki CGO_ENABLED=0 $(GOX) -osarch="darwin/amd64 windows/amd64 freebsd/amd64" ./cmd/promtail ./cmd/logcli gzip dist/* pushd dist && sha256sum * > SHA256SUMS && popd -- GitLab