Update clean-all.sh, compile_tdjni.sh, and generate_tdapi_java_file.sh
This commit is contained in:
parent
b7e2b1ebd7
commit
f05cbe18a6
8
scripts/clean-all.sh
Executable file
8
scripts/clean-all.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
cd ../
|
||||
|
||||
rm -r generated
|
||||
|
||||
echo "Done."
|
||||
exit 0
|
@ -48,8 +48,8 @@ echo "Creating missing folders..."
|
||||
|
||||
# Copy source files
|
||||
echo "Copying source files..."
|
||||
cp -r ./src/main/jni-cpp-src/common ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-cpp-src/${IMPLEMENTATION_NAME} ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-cpp-src/common/. ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-cpp-src/${IMPLEMENTATION_NAME}/. ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-java-src ./generated/src/main/jni-java-src
|
||||
cp ./generated/src/main/java/it/tdlight/jni/TdApi.java ./generated/src/main/jni-java-src/it/tdlight/jni/TdApi.java
|
||||
|
||||
|
@ -51,8 +51,8 @@ echo "Creating missing folders..."
|
||||
|
||||
# Copy source files
|
||||
echo "Copying source files..."
|
||||
cp -r ./src/main/jni-cpp-src/common ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-cpp-src/${IMPLEMENTATION_NAME} ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-cpp-src/common/. ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-cpp-src/${IMPLEMENTATION_NAME}/. ./generated/src/main/jni-cpp-src
|
||||
cp -r ./src/main/jni-java-src ./generated/src/main/jni-java-src
|
||||
|
||||
# Configure cmake
|
||||
|
Loading…
Reference in New Issue
Block a user