mirror of
https://github.com/F1bonacc1/process-compose.git
synced 2024-09-11 11:35:26 +03:00
Add RPI build to Makefile
This commit is contained in:
parent
e565e79ce5
commit
ecaf82c26a
3
Makefile
3
Makefile
@ -38,6 +38,9 @@ build-nix:
|
|||||||
nixver:
|
nixver:
|
||||||
sed -i 's/version = ".*"/version = "${NUMVER}"/' default.nix
|
sed -i 's/version = ".*"/version = "${NUMVER}"/' default.nix
|
||||||
|
|
||||||
|
build-pi:
|
||||||
|
GOOS=linux GOARCH=arm go build ${LD_FLAGS} -o bin/${NAME}-linux-arm ./src
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
for arch in amd64 386 arm64 arm; do \
|
for arch in amd64 386 arm64 arm; do \
|
||||||
GOOS=linux GOARCH=$$arch go build ${LD_FLAGS} -o bin/${NAME}-linux-$$arch ./src ; \
|
GOOS=linux GOARCH=$$arch go build ${LD_FLAGS} -o bin/${NAME}-linux-$$arch ./src ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user