diff --git a/build_arm.sh b/build_arm.sh new file mode 100755 index 0000000000..7d0bff702d --- /dev/null +++ b/build_arm.sh @@ -0,0 +1,5 @@ +go version +go env -w GOPROXY=https://goproxy.cn,direct +go env -w GO111MODULE=auto +go mod tidy +GOOS=linux GOARCH=arm GOARM=6 CGO_ENABLED=0 CC=${CCBIN} CXX=${CXXBIN} go build -ldflags "-s -w" -o zerobot \ No newline at end of file