#!/bin/sh # Generate the server protos. protoc -I/usr/local/include -I.\ -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --go_out=plugins=grpc,paths=source_relative:. \ server.proto # Generate the client protos. protoc -I/usr/local/include -I. \ -I$GOPATH/src \ --go_out=plugins=grpc:. \ client.proto