src.dualinventive.com/go/devsim/generate.sh

9 lines
371 B
Bash
Executable File

#!/bin/sh
mkdir -p public/src/proto
protoc -I/home/jjacobs/tmp/include \
-I. -I `go env GOPATH`/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--grpc-gateway_out=logtostderr=true:. \
--js_out=import_style=commonjs,binary:public/src/proto \
--swagger_out=logtostderr=true:. \
--go_out=plugins=grpc:. devsim.proto simulator.proto repository.proto