From 59a7d9eb7c82a9a4da1275dc189ef0f5dea339a8 Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Thu, 18 Dec 2025 17:15:50 -0600 Subject: Use correct telegram client version --- build.bash | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100755 build.bash (limited to 'build.bash') diff --git a/build.bash b/build.bash deleted file mode 100755 index 1e9572e..0000000 --- a/build.bash +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env -vS bash - -SOMEWHAT_REAL_DIR="$(realpath "$0")" -FILENAME="${SOMEWHAT_REAL_DIR##*/}" -PATH_TO="${SOMEWHAT_REAL_DIR/$FILENAME/}" - -function runInLocal() { - if [[ "$(pwd)/" != "$PATH_TO" ]]; then - (cd "$PATH_TO" && bash "$FILENAME") - exit $? - fi - - return 0 -} - -function buildTDLIB() { - # TODO: Test to see if this works and if I want the install location to be where it is - - cd td && \ - rm -rf build && \ - mkdir build && \ - cd build && \ - CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../../tdjni -DTD_ENABLE_JNI=ON .. && \ - cmake --build . --target install && \ - cd ../../tdjni && \ - rm -rf build && \ - mkdir build && \ - cd build && \ - CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../tdlib -DTd_DIR:PATH=$(readlink -e ../td/lib/cmake/Td) ../../td/CMakeLists.txt && \ - cmake --build . --target install && \ - cd .. && \ - ls -l tdlib - - return $? -} - -function buildJar() { - - return 0 -} - -runInLocal && \ - buildTDLIB && \ - buildJar - -exit "$?" -- cgit v1.2.3