17 lines
313 B
Bash
Executable File
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
|