File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ MKDIR := powershell.exe -NoProfile -Command New-Item -ItemType Directory -Force
1313RMDIR := powershell.exe -NoProfile -Command Remove-Item -Recurse -Force
1414endif
1515
16+ # Build defaults.
17+ GOOS ?= $(shell go env GOOS)
18+ GOARCH ?= $(shell go env GOARCH)
19+ GOOSES ?= "linux windows" # To override at the cli do: GOOSES="\"darwin bsd\""
20+ GOARCHES ?= "amd64 arm64" # To override at the cli do: GOARCHES="\"ppc64 mips\""
21+
1622# Windows specific extensions
1723ifeq ($(GOOS ) ,windows)
1824ARCHIVE_CMD = zip -9lq
1925ARCHIVE_EXT = zip
2026EXE_EXT = .exe
2127endif
2228
23- # Build defaults.
24- GOOS ?= $(shell go env GOOS)
25- GOARCH ?= $(shell go env GOARCH)
26- GOOSES ?= "linux windows" # To override at the cli do: GOOSES="\"darwin bsd\""
27- GOARCHES ?= "amd64 arm64" # To override at the cli do: GOARCHES="\"ppc64 mips\""
28-
2929# Build directories.
3030REPO_ROOT = $(shell git rev-parse --show-toplevel)
3131CNM_DIR = $(REPO_ROOT ) /cnm/plugin
You can’t perform that action at this time.
0 commit comments