From 206e60fa17c2f4493ab2615e15966408b7dc84ae Mon Sep 17 00:00:00 2001 From: "1340691923@qq.com" <1340691923@qq.com> Date: Mon, 7 Mar 2022 17:29:56 +0800 Subject: [PATCH] =?UTF-8?q?mac=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_all_mac.bat | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 build_all_mac.bat diff --git a/build_all_mac.bat b/build_all_mac.bat new file mode 100644 index 0000000..82295b7 --- /dev/null +++ b/build_all_mac.bat @@ -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" \ No newline at end of file