perf: 构建工具调整

This commit is contained in:
TsMask
2025-03-18 15:21:59 +08:00
parent 07e4d3fa63
commit f4977d071b
2 changed files with 8 additions and 10 deletions

4
pkg.sh
View File

@@ -41,9 +41,6 @@ if [ -n "$BuildWeb" ]; then
fi
cd $RootDir
# =================== sshsvc
echo
cd $RootDir/sshsvc
@@ -55,6 +52,7 @@ echo "===> go build sshsvc copy to /build/linux/usr/local/bin"
# =================== omc
echo
cd $RootDir
MOD_CONFIG="be.ems/src/framework/config"
go build -o omc -v -ldflags "-s -w -X '$MOD_CONFIG.Version=$VERSION' -X '$MOD_CONFIG.BuildTime=$(date)' -X '$MOD_CONFIG.GoVer=$(go version)'"