pro.sh 367 B

12345
  1. #! /bin/sh
  2. # proto.sh https://github.com/google/protobuf/releases 下载release包,解压后将include中的文件夹拖到/usr/local/include即可
  3. gopath=$GOPATH/src
  4. gogopath=$GOPATH/src/go-common/vendor/github.com/gogo/protobuf
  5. protoc --gofast_out=. --proto_path=/usr/local/include:$gopath:$gogopath:. vip.proto info.proto card.proto profile.proto usersuit.proto