summaryrefslogtreecommitdiff
path: root/same/build_protobufs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'same/build_protobufs.sh')
-rwxr-xr-xsame/build_protobufs.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/same/build_protobufs.sh b/same/build_protobufs.sh
new file mode 100755
index 0000000..fd1e2d1
--- /dev/null
+++ b/same/build_protobufs.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+find src/test/java -name '*.proto' -exec \
+ protoc {} --java_out=src/test/java \;
+
+find src/main/java -name '*.proto' -exec \
+ protoc {} --java_out=src/main/java \;