修改run_latest模板

This commit is contained in:
huangsimin@fusen.cn 2024-01-17 17:30:06 +08:00
parent 65812bc2e0
commit 2fe7ad3cfb

View File

@ -27,8 +27,15 @@ echo "service name: $service_name"
cd $script_dir/proto
git pull origin master
cd $script_dir
go mod tidy
go mod vendor
go run -gcflags="-N" proto/goutils/proto_build/main.go
go mod tidy
go mod vendor
run_server() {
# 导航到相应的目录
cd $script_dir/server