构建脚本

This commit is contained in:
2022-03-01 13:34:45 +08:00
parent f63f91d98e
commit a7ab300ae6
9 changed files with 18 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
@echo off
go build -o app ../../
+5
View File
@@ -0,0 +1,5 @@
@echo off
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build -o app ../../
+5
View File
@@ -0,0 +1,5 @@
@echo off
SET CGO_ENABLED=0
SET GOOS=darwin
SET GOARCH=amd64
go build -o app ../../