summaryrefslogtreecommitdiff
path: root/same/build_protobufs.sh
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-11 15:08:24 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-11 15:08:24 +0200
commitade78d183a17c49e74c9a37a53a2d0cd78355248 (patch)
tree3af7e8818dca7c69232c066e773e2ce5281d7283 /same/build_protobufs.sh
parenta60af7c40268f65cef9d301b311db30f46a2ecf3 (diff)
Add protobuf builder script.
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 \;