summaryrefslogtreecommitdiffstats
path: root/thrift-compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'thrift-compile.sh')
-rwxr-xr-xthrift-compile.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/thrift-compile.sh b/thrift-compile.sh
new file mode 100755
index 0000000..76be97c
--- /dev/null
+++ b/thrift-compile.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+rm -r gen-java
+thrift --gen java src/main/thrift/imagemaster.thrift && {
+ rm -r src/main/java/org/openslx/imagemaster/thrift/iface
+ cp -r gen-java/org src/main/java/
+}
+
+