From 2fe7ad3cfb0049fda8b94a759228991f5a055a52 Mon Sep 17 00:00:00 2001 From: "huangsimin@fusen.cn" Date: Wed, 17 Jan 2024 17:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9run=5Flatest=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- goutils/proto_build/tpls/run_latest.tpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/goutils/proto_build/tpls/run_latest.tpl b/goutils/proto_build/tpls/run_latest.tpl index b44ec80..1c9172a 100644 --- a/goutils/proto_build/tpls/run_latest.tpl +++ b/goutils/proto_build/tpls/run_latest.tpl @@ -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