don't call prebuild.sh, just do what it does

This commit is contained in:
sneurlax 2022-10-06 20:01:19 -05:00
parent 33f3cc0c0b
commit 297204d200

View file

@ -25,10 +25,12 @@ cd stack_wallet
export STACK_WALLET=$(pwd) export STACK_WALLET=$(pwd)
git submodule update --init --recursive git submodule update --init --recursive
# create template lib/external_api_keys.dart file if it doesn't already exist # Create template lib/external_api_keys.dart file if it doesn't already exist
cd $STACK_WALLET KEYS="$HOME/projects/stack_wallet/lib/external_api_keys.dart"
cd scripts if ! test -f "$KEYS"; then
./prebuild.sh echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
echo 'const kChangeNowApiKey = "";' > $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