From ce35388ee5bda628358cb5fe791d791b9d81554d Mon Sep 17 00:00:00 2001 From: hunterlong Date: Thu, 23 Jul 2020 19:50:20 -0700 Subject: [PATCH] makefile updates --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5f11d891..f824967d 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ all: build-deps compile install test build test: clean compile go test -v -p=1 -ldflags="-X main.VERSION=0.99.99" -coverprofile=coverage.out ./... -build: clean compile +build: clean go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o statping --tags "netgo" ./cmd up: