1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-09-16 08:46:30 +02:00

make: autodetect host platform (#2322)

---
*Sponsored by Kithara Software GmbH*
This commit is contained in:
6543
2023-08-24 00:24:16 +02:00
committed by GitHub
parent c973099c99
commit 76f932878c

View File

@@ -1,7 +1,7 @@
GO_PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
TARGETOS ?= linux
TARGETARCH ?= amd64
TARGETOS ?= $(shell go env GOOS)
TARGETARCH ?= $(shell go env GOARCH)
BIN_SUFFIX :=
ifeq ($(TARGETOS),windows)