From 98af8885297eb9dc9214af51af057b8e41da1c96 Mon Sep 17 00:00:00 2001 From: Ken Brooks <kenneth.s.brooks@chase.com> Date: Sun, 22 Mar 2020 20:40:44 -0400 Subject: [PATCH] attempting to make it tack on the .exe by finding out what the GOOS is --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f2b673d..c14be5b 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ release: *.go .PHONY: clean clean: - $(eval BINARY := ${BINARY_NAME}$(if $(findstring windows,$(GOOS)),.exe,)) + $(eval BINARY := ${BINARY_NAME}$(if $(findstring windows,$(shell go env GOOS)),.exe,)) rm -rf ${BUILD_DIR} ${BINARY} coverage.out .PHONY: fmt -- GitLab