Just build.
This works correctly on Linux. I'm unclear why the environment variables need to be specified at all.mine
parent
50455ebef1
commit
6781743e51
4
Makefile
4
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue