Update compile.sh
This commit is contained in:
parent
fa2f6d49e2
commit
aa766c8ee4
@ -68,19 +68,12 @@ ccache -s
|
||||
# ====== Copy output
|
||||
cd $TDNATIVES_CPP_BUILD_DIR
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
ls -alch $TRAVIS_OUTPUT_DIR || true
|
||||
ls -alch $TRAVIS_OUTPUT_DIR/resources || true
|
||||
ls -alch $TRAVIS_OUTPUT_DIR/resources/libs || true
|
||||
ls -alch $TDLIB_RESOURCES_OUTPUT_DIR || true
|
||||
users
|
||||
groups
|
||||
whoami
|
||||
mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD
|
||||
mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD/$DEST_TDJNI_LIBNAME
|
||||
mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR
|
||||
mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/$DEST_TDJNI_LIBNAME
|
||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD
|
||||
mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD/$DEST_TDJNI_LIBNAME
|
||||
mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR
|
||||
mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/$DEST_TDJNI_LIBNAME
|
||||
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||
mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD
|
||||
mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/resources/libs/$TRAVIS_OS_NAME_SHORT/$TRAVIS_CPU_ARCH_STANDARD/$DEST_TDJNI_LIBNAME
|
||||
mkdir -p $TDLIB_RESOURCES_OUTPUT_DIR
|
||||
mv $TDNATIVES_BIN_DIR/$SRC_TDJNI_LIBNAME $TDLIB_RESOURCES_OUTPUT_DIR/$DEST_TDJNI_LIBNAME
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user