We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2761e2c + 89565a3 commit f0f0798Copy full SHA for f0f0798
1 file changed
GNUmakefile
@@ -2,12 +2,14 @@ TEST?=$$(go list ./... | grep -v 'vendor')
2
GOFMT_FILES?=$$(find . -name '*.go' | grep -v vendor)
3
WEBSITE_REPO=github.com/hashicorp/terraform-website
4
PKG_NAME=cloudstack
5
-export GOOS?=$(shell uname -s | tr A-Z a-z)
6
-export GOARCH?=$(subst x86_,amd,$(shell uname -m))
+GOOS?=$(shell uname -s | tr A-Z a-z)
+GOARCH?=$(subst x86_,amd,$(shell uname -m))
7
8
default: build
9
10
build: fmtcheck
11
+ export GOOS=$(GOOS)
12
+ export GOARCH=$(GOARCH)
13
go build -o /tmp/cloudstack-terraform-provider_$(GOOS)_$(GOARCH)
14
15
zip: build
0 commit comments