mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-19 22:29:26 +00:00
make: autodetect host platform (#2322)
--- *Sponsored by Kithara Software GmbH*
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,7 +1,7 @@
|
|||||||
GO_PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
GO_PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
TARGETOS ?= linux
|
TARGETOS ?= $(shell go env GOOS)
|
||||||
TARGETARCH ?= amd64
|
TARGETARCH ?= $(shell go env GOARCH)
|
||||||
|
|
||||||
BIN_SUFFIX :=
|
BIN_SUFFIX :=
|
||||||
ifeq ($(TARGETOS),windows)
|
ifeq ($(TARGETOS),windows)
|
||||||
|
Reference in New Issue
Block a user