tdlight-java-natives/scripts/core/build_generated_maven_project.sh
2021-03-12 14:57:56 +01:00

9 lines
177 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 -B -q clean package
echo "Done."
exit 0