Update Jenkinsfile, generate_tdapi.sh, and TdApi.java

This commit is contained in:
Andrea Cavalli 2020-10-07 15:49:35 +02:00
parent f298aac249
commit d4ce424125
2 changed files with 4 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -24,7 +24,7 @@ pipeline {
sh "chown 1000:1000 -R \"/var/jenkins_cache/.m2\""
sh "mkdir -p \"/var/jenkins_cache/.ccache\""
sh "chown 1000:1000 -R \"/var/jenkins_cache/.ccache\""
sh "mkdir -p \"${workspace}/tdlight-java/src/main\""
//sh "mkdir -p \"${workspace}/tdlight-java/src/main\""
//sh "chown 1000:1000 -R \"${workspace}\""
//sh "chmod 771 -R \"${workspace}\""
}

View File

@ -25,3 +25,6 @@ python3 $TDLIB_SERIALIZER_DIR $JAVA_SRC_DIR/it/tdlight/tdlib/TdApi.java $JAVA_SR
rm $JAVA_SRC_DIR/it/tdlight/tdlib/TdApi.java
unexpand --tabs=2 $JAVA_SRC_DIR/it/tdlight/tdlib/new_TdApi.java > $JAVA_SRC_DIR/it/tdlight/tdlib/TdApi.java
rm $JAVA_SRC_DIR/it/tdlight/tdlib/new_TdApi.java
# ====== Clean unwanted directories
rm -r "${TD_BIN_DIR}"