13 lines
272 B
Bash
Executable File
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
|
|
|