makefile updates

pull/760/head
hunterlong 2020-07-23 19:48:13 -07:00
parent fce296a032
commit 3dc2cf123c
1 changed files with 3 additions and 3 deletions

View File

@ -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: