tdlight-java-natives/scripts/core/build_generated_maven_project.sh

9 lines
171 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