7de3f31fd0
* feat: support c++ targets * fix: compile all protos under ./proto * chore: Apply suggestions from code review --------- Co-authored-by: Yingwen <realevenyag@gmail.com>
9 lines
163 B
Bash
Executable File
9 lines
163 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
PROTO_ROOT=./proto
|
|
CPP_OUTPUT=./c++
|
|
|
|
protoc --proto_path=proto/ --cpp_out=${CPP_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
|