summaryrefslogtreecommitdiffstats
path: root/thrift-compile.sh
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-30 16:34:05 +0200
committerSimon Rettberg2014-06-30 16:34:05 +0200
commite3e21cc1eb4c33c76d2c0195067c3d72b78b79f8 (patch)
treefad34ea7e7c336a9a1d7306c417974a093678354 /thrift-compile.sh
downloadmaster-sync-shared-e3e21cc1eb4c33c76d2c0195067c3d72b78b79f8.tar.gz
master-sync-shared-e3e21cc1eb4c33c76d2c0195067c3d72b78b79f8.tar.xz
master-sync-shared-e3e21cc1eb4c33c76d2c0195067c3d72b78b79f8.zip
Initial Commit
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/
+}
+
+