mac打包

This commit is contained in:
1340691923@qq.com 2022-03-07 17:29:56 +08:00
parent a6342403dc
commit 206e60fa17

2
build_all_mac.bat Normal file
View File

@ -0,0 +1,2 @@
cd vue && npm run build:prod && cd .. && SET CGO_ENABLED=0&& SET GOOS=darwin&& SET GOARCH=amd64&& go build -ldflags="-w -s" -o bin/mac/manager cmd/manager/main.go && go build -ldflags="-w -s" -o bin/mac/report_server cmd/report_server/main.go && go build -ldflags="-w -s" -o bin/mac/sinker cmd/sinker/main.go && go build -ldflags="-w -s" -o bin/mac/init_app cmd/init_app/main.go
echo "build success"