perf: 构建工具调整

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

No files matched your search

+1 -3
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)'"