1
0

Update setup_workspace.sh

This commit is contained in:
Andrea Cavalli 2020-10-03 15:56:15 +02:00
parent 0b94340143
commit 4456871ab8

View File

@ -4,6 +4,11 @@ set -e
# ====== Setup environment variables # ====== Setup environment variables
source ./jenkins/scripts/setup_variables.sh source ./jenkins/scripts/setup_variables.sh
# ====== Finish clone
cd $TD_BUILD_DIR
git submodule sync
git submodule update --init --recursive
# ====== Environment cleanup # ====== Environment cleanup
[ -f $JAVA_SRC_DIR/it/tdlight/tdlib/TdApi.java ] && rm $JAVA_SRC_DIR/it/tdlight/tdlib/TdApi.java [ -f $JAVA_SRC_DIR/it/tdlight/tdlib/TdApi.java ] && rm $JAVA_SRC_DIR/it/tdlight/tdlib/TdApi.java
[ -f $JAVA_SRC_DIR/it/tdlight/tdlib/new_TdApi.java ] && rm $JAVA_SRC_DIR/it/tdlight/tdlib/new_TdApi.java [ -f $JAVA_SRC_DIR/it/tdlight/tdlib/new_TdApi.java ] && rm $JAVA_SRC_DIR/it/tdlight/tdlib/new_TdApi.java