Skip to content
Snippets Groups Projects
Commit 98af8885 authored by Ken Brooks's avatar Ken Brooks
Browse files

attempting to make it tack on the .exe by finding out what the GOOS is

parent 824c9dbd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment