mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-09 19:02:28 +08:00
添加 deploy 部署脚本
优化应用易用性
This commit is contained in:
2
build.sh
2
build.sh
@@ -31,7 +31,7 @@ cp -rf $cpath/web/ui .
|
||||
|
||||
# -tags osusergo,netgo,sqlite_omit_load_extension
|
||||
flags="-v -trimpath"
|
||||
ldflags="-s -w -extldflags '-static' -X main.appVer=$ver -X main.commitId=$(git rev-parse HEAD) -X main.date=$(date --iso-8601=seconds)"
|
||||
ldflags="-s -w -extldflags '-static' -X main.appVer=$ver -X main.commitId=$(git rev-parse HEAD) -X main.date=$(date -Iseconds)"
|
||||
|
||||
#国内可替换源加快速度
|
||||
export GOPROXY=https://goproxy.io
|
||||
|
Reference in New Issue
Block a user