mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 02:34:59 +00:00
changed paths in build_zano.sh
This commit is contained in:
parent
2c83de3a4d
commit
956c469036
2 changed files with 13 additions and 5 deletions
|
@ -6,9 +6,10 @@ set -o xtrace
|
||||||
ZANO_SRC_DIR=${WORKDIR}/zano
|
ZANO_SRC_DIR=${WORKDIR}/zano
|
||||||
ZANO_CHECKOUT_ID=develop
|
ZANO_CHECKOUT_ID=develop
|
||||||
|
|
||||||
git clone --recursive https://github.com/hyle-team/zano.git ${ZANO_SRC_DIR}
|
git clone --recurse-submodules -b ${ZANO_CHECKOUT_ID} https://github.com/hyle-team/zano.git ${ZANO_SRC_DIR}
|
||||||
|
#git clone --recursive https://github.com/hyle-team/zano.git ${ZANO_SRC_DIR}
|
||||||
cd $ZANO_SRC_DIR
|
cd $ZANO_SRC_DIR
|
||||||
git checkout ${ZANO_CHECKOUT_ID}
|
#git checkout ${ZANO_CHECKOUT_ID}
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
git pull -r
|
git pull -r
|
||||||
|
@ -90,4 +91,6 @@ fi
|
||||||
cp -r ./_install/$ARCH_ABI/lib/* $DEST_LIB_DIR
|
cp -r ./_install/$ARCH_ABI/lib/* $DEST_LIB_DIR
|
||||||
#cp ../../src/wallet/api/wallet2_api.h $DEST_INCLUDE_DIR
|
#cp ../../src/wallet/api/wallet2_api.h $DEST_INCLUDE_DIR
|
||||||
|
|
||||||
|
./copy_zano_libs.sh
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
WORKDIR=/opt/android
|
WORKDIR=/opt/android
|
||||||
CW_DIR=${WORKDIR}/cake_wallet
|
#CW_DIR=${WORKDIR}/zano_cake_wallet
|
||||||
CW_EXRTERNAL_DIR=${CW_DIR}/cw_shared_external/ios/External/android
|
CW_DIR=$(cd ../.. && pwd)
|
||||||
|
echo "CW_DIR: $CW_DIR"
|
||||||
|
CW_EXTERNAL_DIR=${CW_DIR}/cw_shared_external/ios/External/android
|
||||||
for arch in "aarch" "aarch64" "i686" "x86_64"
|
for arch in "aarch" "aarch64" "i686" "x86_64"
|
||||||
do
|
do
|
||||||
|
|
||||||
|
@ -20,10 +22,13 @@ case $arch in
|
||||||
ABI="x86_64";;
|
ABI="x86_64";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
LIB_DIR=${CW_EXRTERNAL_DIR}/${ABI}/lib
|
LIB_DIR=${CW_EXTERNAL_DIR}/${ABI}/lib
|
||||||
|
|
||||||
mkdir -p $LIB_DIR
|
mkdir -p $LIB_DIR
|
||||||
|
|
||||||
cp -r ${PREFIX}/lib/* $LIB_DIR
|
cp -r ${PREFIX}/lib/* $LIB_DIR
|
||||||
|
|
||||||
|
mkdir -p ${CW_DIR}/cw_shared_external/ios/External/ios/sources/zano/src/wallet/
|
||||||
|
cp ${WORKDIR}/zano/src/wallet/plain_wallet_api.h ${CW_DIR}/cw_shared_external/ios/External/ios/sources/zano/src/wallet/
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue