tdlight-java-natives/scripts/build_generated_maven_project.sh

9 lines
168 B
Bash
Raw Normal View History

2020-10-10 01:06:26 +02:00
#!/bin/bash -e
cd ../generated
[ -f ./src/main/java/it/tdlight/jni/TdApi.java ] && rm ./src/main/java/it/tdlight/jni/TdApi.java
2020-10-10 01:06:26 +02:00
mvn clean package
echo "Done."
exit 0