build the gateway binary too (#592)
This commit is contained in:
parent
d5b3d5f395
commit
c5f5915588
7
Makefile
7
Makefile
@ -128,6 +128,9 @@ binary:
|
||||
cd release/${TAG}; zip ${COMPONENT}_${GOOS}_${GOARCH}.zip ${COMPONENT}_${GOOS}_${GOARCH}${FILEEXT}
|
||||
rm -f release/${TAG}/${COMPONENT}_${GOOS}_${GOARCH}${FILEEXT}
|
||||
|
||||
.PHONY: gateway_%
|
||||
gateway_%:
|
||||
GOOS=$(word 2, $(subst _, ,$@)) GOARCH=$(word 3, $(subst _, ,$@)) COMPONENT=gateway $(MAKE) binary
|
||||
.PHONY: satellite_%
|
||||
satellite_%:
|
||||
GOOS=$(word 2, $(subst _, ,$@)) GOARCH=$(word 3, $(subst _, ,$@)) COMPONENT=satellite $(MAKE) binary
|
||||
@ -138,11 +141,11 @@ storagenode_%:
|
||||
uplink_%:
|
||||
GOOS=$(word 2, $(subst _, ,$@)) GOARCH=$(word 3, $(subst _, ,$@)) COMPONENT=uplink $(MAKE) binary
|
||||
|
||||
COMPONENTLIST := uplink satellite storagenode
|
||||
COMPONENTLIST := gateway satellite storagenode uplink
|
||||
OSARCHLIST := linux_amd64 windows_amd64 darwin_amd64
|
||||
BINARIES := $(foreach C,$(COMPONENTLIST),$(foreach O,$(OSARCHLIST),$C_$O))
|
||||
.PHONY: binaries
|
||||
binaries: ${BINARIES} ## Build uplink, satellite, and storagenode binaries (jenkins)
|
||||
binaries: ${BINARIES} ## Build gateway, satellite, storagenode, and uplink binaries (jenkins)
|
||||
|
||||
##@ Deploy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user