mirror of
https://github.com/xiaoqidun/symfs.git
synced 2026-02-02 16:13:54 +08:00
feat(编译脚本): 添加编译脚本
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
set GOOS=windows
|
||||
set GOARCH=386
|
||||
set CGO_ENABLED=0
|
||||
go build -o symfs_386.exe -trimpath -ldflags "-s -w -buildid=" .\cmd\main.go
|
||||
go build -o symfs_386_daemon.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" .\cmd\main.go
|
||||
set GOOS=windows
|
||||
set GOARCH=amd64
|
||||
set CGO_ENABLED=0
|
||||
go build -o symfs_amd64.exe -trimpath -ldflags "-s -w -buildid=" .\cmd\main.go
|
||||
go build -o symfs_amd64_daemon.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" .\cmd\main.go
|
||||
set GOOS=windows
|
||||
set GOARCH=arm64
|
||||
set CGO_ENABLED=0
|
||||
go build -o symfs_arm64.exe -trimpath -ldflags "-s -w -buildid=" .\cmd\main.go
|
||||
go build -o symfs_arm64_daemon.exe -trimpath -ldflags "-H windowsgui -s -w -buildid=" .\cmd\main.go
|
||||
Reference in New Issue
Block a user