1
0
forked from ErnyTech/JTDLib

Update linux.sh and win.sh

This commit is contained in:
Andrea Cavalli 2020-08-18 16:37:54 +02:00
parent 431ed1b729
commit ba343bbc49
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash -e #!/bin/bash -e
mkdir $TRAVIS_BUILD_DIR/out
touch "$TRAVIS_BUILD_DIR/out/lib-$TRAVIS_OS_NAME-$TRAVIS_CPU_ARCH" touch "$TRAVIS_BUILD_DIR/out/lib-$TRAVIS_OS_NAME-$TRAVIS_CPU_ARCH"
exit 0 exit 0
@ -8,7 +10,6 @@ sudo apt-get update
sudo apt-get install make git zlib1g-dev libssl-dev gperf php cmake default-jdk g++ ccache sudo apt-get install make git zlib1g-dev libssl-dev gperf php cmake default-jdk g++ ccache
cd src/main/jni cd src/main/jni
mkdir $TRAVIS_BUILD_DIR/out
export TD_SRC_DIR=${PWD}/td export TD_SRC_DIR=${PWD}/td
export TD_BIN_DIR=${PWD}/jtdlib/td export TD_BIN_DIR=${PWD}/jtdlib/td

View File

@ -1,5 +1,7 @@
#!/bin/bash -e #!/bin/bash -e
mkdir $TRAVIS_BUILD_DIR/out
touch "$TRAVIS_BUILD_DIR/out/lib-$TRAVIS_OS_NAME-$TRAVIS_CPU_ARCH" touch "$TRAVIS_BUILD_DIR/out/lib-$TRAVIS_OS_NAME-$TRAVIS_CPU_ARCH"
exit 0 exit 0
@ -47,7 +49,6 @@ mkdir jnibuild
echo "TD_SRC_DIR=${TD_SRC_DIR}" echo "TD_SRC_DIR=${TD_SRC_DIR}"
echo "TD_BIN_DIR=${TD_BIN_DIR}" echo "TD_BIN_DIR=${TD_BIN_DIR}"
echo "JAVA_SRC_DIR=${JAVA_SRC_DIR}" echo "JAVA_SRC_DIR=${JAVA_SRC_DIR}"
mkdir $TRAVIS_BUILD_DIR/out
cd jnibuild cd jnibuild
# Setup env # Setup env