feat: add build for raspi and freebsd

This commit is contained in:
Urko 2023-03-02 18:39:30 +01:00
parent adb28dafe7
commit cc3b454262
1 changed files with 7 additions and 1 deletions

View File

@ -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