tdlight-java/scripts/core/only_compile_release.sh
2021-10-22 18:57:44 +02:00

17 lines
313 B
Bash
Executable File

#!/bin/bash -e
# OTHER REQUIRED ENVIRONMENT VARIABLES:
# IMPLEMENTATION_NAME = <tdlib | tdlight>
# Check variables correctness
if [ -z "${IMPLEMENTATION_NAME}" ]; then
echo "Missing parameter: IMPLEMENTATION_NAME"
exit 1
fi
cd "../../"
mvn -B -P "${IMPLEMENTATION_NAME}" clean package
echo "Done."
exit 0