From 6781743e514fafcd24cd551a5317c0ad642eaddc Mon Sep 17 00:00:00 2001 From: Anand Kumria Date: Tue, 19 Feb 2019 17:36:47 +0100 Subject: [PATCH] Just build. This works correctly on Linux. I'm unclear why the environment variables need to be specified at all. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cc8869d0..57a1e1da 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ cover: ## Run test coverage suite @go test ./... --coverprofile=cov.out @go tool cover --html=cov.out -osx: ## Builds OSX CLI - @env GOOS=darwin GOARCH=amd64 go build \ +build: ## Builds the CLI + @go build \ -ldflags "-w -X ${PACKAGE}/cmd.Version=${VERSION}" \ -a -tags netgo -o execs/${NAME} *.go