From fa041e395afdf29de4068c3a98db4e05c4c7d81a Mon Sep 17 00:00:00 2001 From: Mike Bloy Date: Sat, 7 May 2022 00:56:37 -0500 Subject: [PATCH] Makefile update --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 35a20e7..027fb30 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ BIN_NAME=hasshelper -PACKAGE_NAME=git.bloy.org/mike/hasshelper GIT_DESCRIBE=$(shell git describe --always --long --dirty) GIT_SEMVER=$(shell go run github.com/mdomke/git-semver) LDFLAGS="-X main.gitDescribe=${GIT_DESCRIBE} -X main.gitVersion=${GIT_SEMVER}" @@ -9,10 +8,10 @@ default: all all: test build build: - go build -ldflags ${LDFLAGS} -o bin/${BIN_NAME} + go build -ldflags ${LDFLAGS} -o ${BIN_NAME} test: go test ./... -ldflags ${LDFLAGS} clean: - rm -rf bin/${BIN_NAME} + rm -f ${BIN_NAME}*