Added make build-<arch> commands
parent
ece500c342
commit
f7823b9e20
9
Makefile
9
Makefile
|
@ -15,6 +15,15 @@ build-prod:
|
||||||
build-cloud:
|
build-cloud:
|
||||||
GOOS=linux GOARCH=amd64 RELEASE=cloud make build
|
GOOS=linux GOARCH=amd64 RELEASE=cloud make build
|
||||||
|
|
||||||
|
build-arm64:
|
||||||
|
GOOS=linux GOARCH=arm64 RELEASE=prod make build
|
||||||
|
|
||||||
|
build-armhf:
|
||||||
|
GOOS=linux GOARCH=arm RELEASE=prod make build
|
||||||
|
|
||||||
|
build-amd64:
|
||||||
|
GOOS=linux GOARCH=amd64 RELEASE=prod make build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@echo "Building ${GOOS}-${GOARCH}"
|
@echo "Building ${GOOS}-${GOARCH}"
|
||||||
GOOS=${GOOS} GOARCH=${GOARCH} go build \
|
GOOS=${GOOS} GOARCH=${GOARCH} go build \
|
||||||
|
|
Loading…
Reference in New Issue