mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
Adding arm64 to make command
This commit is contained in:
parent
47c2dfb60b
commit
8c4b226779
1 changed files with 6 additions and 3 deletions
9
Makefile
9
Makefile
|
@ -1,15 +1,18 @@
|
||||||
.PHONY: ui build linux64
|
.PHONY: ui build linux-amd64 linux-arm64
|
||||||
|
|
||||||
BINARY_NAME = xmr-nodes
|
BINARY_NAME = xmr-nodes
|
||||||
|
|
||||||
build: ui linux64
|
build: ui linux-amd64 linux-arm64
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
go generate ./...
|
go generate ./...
|
||||||
|
|
||||||
linux64:
|
linux-amd64:
|
||||||
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME}-static-linux-amd64
|
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME}-static-linux-amd64
|
||||||
|
|
||||||
|
linux-arm64:
|
||||||
|
CGO_ENABLED=0 GOARCH=arm64 GOOS=linux go build -o bin/${BINARY_NAME}-static-linux-arm64
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
go clean
|
go clean
|
||||||
rm -rfv ./bin
|
rm -rfv ./bin
|
||||||
|
|
Loading…
Reference in a new issue