diff options
author | Simon Rettberg | 2015-06-05 11:25:50 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-06-05 11:25:50 +0200 |
commit | 693392fe6c0022e7ec5060192ee322c7753b0d90 (patch) | |
tree | 855245927778c6b069714909929684d1da7d449f /thrift-compile.sh | |
parent | Cleanup thrift shandling stuff (diff) | |
download | master-sync-shared-693392fe6c0022e7ec5060192ee322c7753b0d90.tar.gz master-sync-shared-693392fe6c0022e7ec5060192ee322c7753b0d90.tar.xz master-sync-shared-693392fe6c0022e7ec5060192ee322c7753b0d90.zip |
Changes for Dozmod v1.1
Diffstat (limited to 'thrift-compile.sh')
-rwxr-xr-x | thrift-compile.sh | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/thrift-compile.sh b/thrift-compile.sh index 82822fd..4831fd7 100755 --- a/thrift-compile.sh +++ b/thrift-compile.sh @@ -10,20 +10,10 @@ if ! thrift --version | grep -q "0\.9\.1"; then echo "OK, compiling..." fi -echo "1) Masterserver RPC" +echo "1) Masterserver + Satellite RPC" [ -e gen-java ] && rm -r gen-java -if thrift --gen java src/main/thrift/imagemaster.thrift; then - [ -e "src/main/java/org/openslx/imagemaster/thrift/iface" ] && rm -rf src/main/java/org/openslx/imagemaster/thrift/iface - if ! cp -r gen-java/org src/main/java/; then - echo "Error copying compiled files! Aborting!" - exit 1 - fi -fi - -echo "2) Sat RPC" -[ -e gen-java ] && rm -r gen-java -if thrift --gen java src/main/thrift/sat.thrift; then - [ -e "src/main/java/org/openslx/sat/thrift/iface" ] && rm -rf src/main/java/org/openslx/sat/thrift/iface +if thrift --gen java src/main/thrift/bwlp.thrift; then + [ -e "src/main/java/org/openslx/bwlp/thrift/iface" ] && rm -rf src/main/java/org/openslx/bwlp/thrift/iface if ! cp -r gen-java/org src/main/java/; then echo "Error copying compiled files! Aborting!" exit 1 |