From 3dc2cf123cc0281a854c923de0ec362dbacdf6b6 Mon Sep 17 00:00:00 2001 From: hunterlong Date: Thu, 23 Jul 2020 19:48:13 -0700 Subject: [PATCH] makefile updates --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4d4fd48b..5f11d891 100644 --- a/Makefile +++ b/Makefile @@ -14,12 +14,12 @@ PATH:=$(GOPATH)/bin:$(PATH) OS = freebsd linux openbsd ARCHS = 386 arm amd64 arm64 -all: check build-deps compile install test build +all: build-deps compile install test build -test: check clean compile +test: clean compile go test -v -p=1 -ldflags="-X main.VERSION=0.99.99" -coverprofile=coverage.out ./... -build: check clean compile +build: clean compile go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o statping --tags "netgo" ./cmd up: