4ce7e9a3ff
* fix: improve interval precision * chore: better name * chore: add /opt/include to proto include * remove empty line
12 lines
343 B
Bash
Executable File
12 lines
343 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
PROTO_ROOT=./proto
|
|
GO_OUTPUT=./go
|
|
|
|
protoc -I=${PROTO_ROOT} -I /opt/include --go_out=paths=source_relative:${GO_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
|
|
protoc -I=${PROTO_ROOT} -I /opt/include \
|
|
--go-grpc_out=paths=source_relative:${GO_OUTPUT} \
|
|
$(find ./proto/ -type f -iname "*.proto")
|