feat: add build for raspi and freebsd
This commit is contained in:
parent
adb28dafe7
commit
cc3b454262
6
Makefile
6
Makefile
|
@ -17,3 +17,9 @@ build:
|
|||
rm -rf ${BINARY_DIR}
|
||||
mkdir ${BINARY_DIR}
|
||||
env GOOS=linux CGO_ENABLED=0 GOARCH=amd64 go build -o ./${BINARY_DIR}/${BINARY_NAME} main.go
|
||||
build_raspi:
|
||||
rm -rf ${BINARY_DIR}
|
||||
mkdir ${BINARY_DIR}
|
||||
env GOOS=freebsd CGO_ENABLED=0 GOARCH=arm64 ENV=prod go build -o ./${BINARY_DIR}/${BINARY_NAME} main.go
|
||||
list_build_types:
|
||||
go tool dist list | grep arm
|
Loading…
Reference in New Issue