mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
make: autodetect host platform (#2322)
--- *Sponsored by Kithara Software GmbH*
This commit is contained in:
parent
c973099c99
commit
76f932878c
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue