summaryrefslogtreecommitdiffstats
path: root/thrift-compile.sh
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-22 14:46:54 +0200
committerSimon Rettberg2019-10-22 14:46:54 +0200
commit24604b2db4353d00c70644bb4d915e8a294941b1 (patch)
tree8cd315e47f923478bc05336891bc74448d2eab35 /thrift-compile.sh
parentJson: Fix deserialization of bools in Thrift classes (diff)
downloadmaster-sync-shared-24604b2db4353d00c70644bb4d915e8a294941b1.tar.gz
master-sync-shared-24604b2db4353d00c70644bb4d915e8a294941b1.tar.xz
master-sync-shared-24604b2db4353d00c70644bb4d915e8a294941b1.zip
Add javax.annotation.Generated dependency for Java 9
Diffstat (limited to 'thrift-compile.sh')
-rwxr-xr-xthrift-compile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/thrift-compile.sh b/thrift-compile.sh
index c47cc86..6c75de1 100755
--- a/thrift-compile.sh
+++ b/thrift-compile.sh
@@ -30,6 +30,7 @@ if thrift --gen java src/main/thrift/bwlp.thrift; then
bn=$(basename "$file")
[ -e "gen-java/org/openslx/bwlp/thrift/iface/$bn" ] || git rm "$file"
done
+ [ -e gen-java ] && rm -r gen-java
fi
echo "All done!"