tdlight-java-natives/scripts/build_generated_maven_project.sh
2020-10-11 15:02:41 +02:00

9 lines
168 B
Bash
Executable File

#!/bin/bash -e
cd ../generated
[ -f ./src/main/java/it/tdlight/jni/TdApi.java ] && rm ./src/main/java/it/tdlight/jni/TdApi.java
mvn clean package
echo "Done."
exit 0