auto_gen.sh 244 Bytes
Newer Older
“李磊”'s avatar
“李磊” committed
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash -e

if [ $# != 1 ];then
  echo "usage:$0 proto_dir"
  exit 1
fi

echo "generate protoc"

docker run --rm -v $(pwd):/rpcserver harbor.linkfog.cn/basegroup/grpc:1.0  bash /rpcserver/build/build.sh $1

echo "generate protoc finished"