mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 19:59:29 +00:00
do not clone repo in setup script
nor build plugins
This commit is contained in:
parent
dc55777377
commit
422320f4b3
1 changed files with 20 additions and 20 deletions
|
@ -18,20 +18,6 @@ echo 'export PATH="$PATH:'${FLUTTER_DIR}'"' >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
flutter doctor
|
flutter doctor
|
||||||
|
|
||||||
# setup stack_wallet github
|
|
||||||
cd $PROJECTS
|
|
||||||
git clone https://github.com/cypherstack/stack_wallet.git
|
|
||||||
cd stack_wallet
|
|
||||||
export STACK_WALLET=$(pwd)
|
|
||||||
git submodule update --init --recursive
|
|
||||||
|
|
||||||
# create template lib/external_api_keys.dart file if it doesn't already exist
|
|
||||||
KEYS="$HOME/projects/stack_wallet/lib/external_api_keys.dart"
|
|
||||||
if ! test -f "$KEYS"; then
|
|
||||||
echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
|
|
||||||
printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";' > $KEYS
|
|
||||||
fi
|
|
||||||
|
|
||||||
# install stack wallet dependencies
|
# install stack wallet dependencies
|
||||||
sudo apt-get install -y unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake openjdk-8-jre-headless libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev llvm
|
sudo apt-get install -y unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake openjdk-8-jre-headless libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev llvm
|
||||||
|
|
||||||
|
@ -46,9 +32,23 @@ source "$HOME/.cargo/env"
|
||||||
cargo install cargo-ndk
|
cargo install cargo-ndk
|
||||||
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
|
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
|
||||||
|
|
||||||
# build stack wallet plugins
|
# # setup stack_wallet github
|
||||||
cd $STACK_WALLET
|
# cd $PROJECTS
|
||||||
cd scripts/android
|
# git clone https://github.com/cypherstack/stack_wallet.git
|
||||||
./build_all.sh
|
# cd stack_wallet
|
||||||
cd ../linux
|
# export STACK_WALLET=$(pwd)
|
||||||
./build_all.sh
|
# git submodule update --init --recursive
|
||||||
|
|
||||||
|
# # create template lib/external_api_keys.dart file if it doesn't already exist
|
||||||
|
# KEYS="$HOME/projects/stack_wallet/lib/external_api_keys.dart"
|
||||||
|
# if ! test -f "$KEYS"; then
|
||||||
|
# echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
|
||||||
|
# printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";' > $KEYS
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# # build stack wallet plugins
|
||||||
|
# cd $STACK_WALLET
|
||||||
|
# cd scripts/android
|
||||||
|
# ./build_all.sh
|
||||||
|
# cd ../linux
|
||||||
|
# ./build_all.sh
|
||||||
|
|
Loading…
Reference in a new issue