fusen-gateway/protoc.sh

13 lines
272 B
Bash
Raw Normal View History

2023-11-03 03:06:15 +00:00
#! /bin/bash
# 获取当前脚本的全局路径
script_path=$(realpath "$0")
# 获取当前脚本的目录
script_dir=$(dirname "$script_path")
cd $script_dir/proto
git pull origin master
cd $script_dir
go run -gcflags="-N" proto/goutils/proto_build/main.go gateway
2023-11-13 09:52:02 +00:00