You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go_mqtt/beepack.sh

27 lines
671 B
Bash

8 months ago
#交叉编译打包不同平台的安装包
#linux
bee pack -be GOOSlinux GOARCH=amd64
bee pack -be GOOS=linux GOARCH=amd64
#windows
bee pack -be GOOSwindows GOARCH=amd64
bee pack -be GOOS=windows GOARCH=amd64
#go build打包方式
8 months ago
GOOS=windows GOARCH=amd64 go build
3 weeks ago
GOOS=windows GOARCH=amd64 go build -o go_mqtt_pg.exe
GOOS=windows GOARCH=amd64 go build -o go_mqtt_weather.exe
8 months ago
GOOS=linux GOARCH=amd64 go build
3 weeks ago
GOOS=linux GOARCH=amd64 go build -o go_mqtt_pg
8 months ago
GOOS=freebsd GOARCH=amd64 go build
3 weeks ago
GOOS=freebsd GOARCH=amd64 go build -o go_mqtt_pg
5 months ago
GOOS=linux GOARCH=arm64 go build
3 weeks ago
GOOS=linux GOARCH=arm64 go build -o go_mqtt_pg
5 months ago
8 months ago
GOOS=darwin GOARCH=amd64 go build