miduo_protocol/build.sh

11 lines
324 B
Bash
Raw Normal View History

2018-12-27 17:56:49 +08:00
#!/bin/sh
##########################
## generate java code
##########################
find ./protos |grep proto | while read line
do
protoc $line --java_out=../java --proto_path=./protos --proto_path=./protos/command --proto_path=./protos/indication --proto_path==./protos/request --proto_path=./protos/response
done