From 3e0d3c2d4d76df64d4b64fd53ecc6e3f0b5bf555 Mon Sep 17 00:00:00 2001 From: mdr0id Date: Sun, 13 Oct 2019 14:43:18 -0700 Subject: [PATCH] Adding release targets to Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 770cf9b..b461072 100644 --- a/Makefile +++ b/Makefile @@ -94,6 +94,10 @@ build: GO111MODULE=on CGO_ENABLED=1 go build -i -v ./cmd/ingest GO111MODULE=on CGO_ENABLED=1 go build -i -v ./cmd/server +build_rel: + GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -i -v ./cmd/ingest + GO111MODULE=on CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -i -v ./cmd/server + # Install binaries into Go path install: go install ./...