mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
build: add ability to specify release targets (#14957)
My make knowledge is very very limited, so if there's a better way to do this please let me know! This seems to work and lets me cut one off builds easily.
This commit is contained in:
@@ -75,6 +75,11 @@ ifeq (FreeBSD,$(THIS_OS))
|
||||
ALL_TARGETS = freebsd_amd64
|
||||
endif
|
||||
|
||||
# Allow overriding ALL_TARGETS via $TARGETS
|
||||
ifdef TARGETS
|
||||
ALL_TARGETS = $(TARGETS)
|
||||
endif
|
||||
|
||||
SUPPORTED_OSES = Darwin Linux FreeBSD Windows MSYS_NT
|
||||
|
||||
CGO_ENABLED = 1
|
||||
|
||||
Reference in New Issue
Block a user