Created
June 20, 2019 13:47
-
-
Save Pwera/6e2a4d5a40025c423d9ae1cbdec320fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash \ | |
FILES=/root/*.proto | |
for f in $FILES | |
do | |
PB=$(echo $f | cut -d'/' -f3-) | |
protoc --plugin=/usr/local/bin/protoc-gen-go $PB --go_out=src/go | |
protoc $PB --cpp_out=src/cpp | |
protoc $PB --java_out=src/java | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment