fusen-gateway/protoc.sh
2023-11-13 17:52:02 +08:00

13 lines
272 B
Bash
Executable File

#! /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