mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17:29:23 +00:00
Merge pull request #599 from cypherstack/docs
Update setup script and docs to make it more clear that prebuild.sh must be ran regardless of whether scripted or manual setup was used
This commit is contained in:
commit
d8df763465
2 changed files with 15 additions and 11 deletions
|
@ -31,7 +31,7 @@ Make a Pixel 4 (API 30) x86_64 emulator with 2GB of storage space for emulation
|
|||
|
||||
### Scripted setup
|
||||
|
||||
[`scripts/setup.sh`](./../scripts/setup.sh) is provided as a tool to set up installation for building: download the script and run it anywhere. This script should skip the entire [Manual setup](#manual-setup) section below and prepare you for [running](#Running).
|
||||
[`scripts/setup.sh`](./../scripts/setup.sh) is provided as a tool to set up installation for building: download the script and run it anywhere. This script should skip the entire [Manual setup](#manual-setup) section below and prepare you to [run the prebuild script](#run-prebuild-script), [build the plugins](#Build-plugins), and [run](#Running).
|
||||
|
||||
### Manual setup
|
||||
> If you used the `setup.sh` script, skip to [running](#Running)
|
||||
|
@ -98,20 +98,21 @@ cd ..
|
|||
```
|
||||
or manually by creating the files referenced in that script with the specified content.
|
||||
|
||||
### Building plugins for Android
|
||||
### Build plugins
|
||||
#### Building plugins for Android
|
||||
> Warning: This will take a long time, please be patient
|
||||
```
|
||||
cd scripts/android
|
||||
./build_all.sh
|
||||
```
|
||||
|
||||
### Building plugins for Linux
|
||||
#### Building plugins for Linux
|
||||
```
|
||||
cd scripts/linux
|
||||
./build_all.sh
|
||||
```
|
||||
|
||||
### Building plugins for Windows
|
||||
#### Building plugins for Windows
|
||||
```
|
||||
cd scripts/windows
|
||||
./deps.sh
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
export SCRIPTS=$(pwd)
|
||||
|
||||
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y
|
||||
mkdir "$HOME/development"
|
||||
mkdir "$HOME/projects"
|
||||
|
@ -12,7 +14,7 @@ sudo apt install -y unzip pkg-config clang cmake ninja-build libgtk-3-dev
|
|||
cd $DEVELOPMENT
|
||||
git clone https://github.com/flutter/flutter.git
|
||||
cd flutter
|
||||
git checkout 3.7.12
|
||||
git checkout 3.10.3
|
||||
export FLUTTER_DIR=$(pwd)/bin
|
||||
echo 'export PATH="$PATH:'${FLUTTER_DIR}'"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
@ -46,9 +48,10 @@ rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-andro
|
|||
# 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
|
||||
# build stack wallet plugins
|
||||
cd $SCRIPTS
|
||||
./prebuild.sh
|
||||
cd android
|
||||
./build_all.sh
|
||||
cd ../linux
|
||||
./build_all.sh
|
||||
|
|
Loading…
Reference in a new issue