8 lines
169 B
Bash
Executable File
8 lines
169 B
Bash
Executable File
# !/bin/bash
|
|
BASEDIR=$(dirname "$0")
|
|
if [ ! -d "$BASEDIR/../goproto" ]; then
|
|
mkdir $BASEDIR/../goproto
|
|
fi
|
|
cd $BASEDIR
|
|
protoc --go_out=plugins=grpc:../goproto/ *.proto
|