mirror of https://github.com/bjdgyc/anylink.git
修复build错误
This commit is contained in:
parent
947339384b
commit
6c1f29ba3a
2
build.sh
2
build.sh
|
@ -36,7 +36,7 @@ ldflags="-s -w -extldflags '-static' -X main.appVer=$ver -X main.commitId=$(git
|
||||||
#国内可替换源加快速度
|
#国内可替换源加快速度
|
||||||
export GOPROXY=https://goproxy.io
|
export GOPROXY=https://goproxy.io
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go build -o anylink "$flags" -ldflags "$ldflags"
|
go build -o anylink $flags -ldflags "$ldflags"
|
||||||
|
|
||||||
cd $cpath
|
cd $cpath
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue