mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-05 10:19:22 +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
|
### 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
|
### Manual setup
|
||||||
> If you used the `setup.sh` script, skip to [running](#Running)
|
> 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.
|
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
|
> Warning: This will take a long time, please be patient
|
||||||
```
|
```
|
||||||
cd scripts/android
|
cd scripts/android
|
||||||
./build_all.sh
|
./build_all.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Building plugins for Linux
|
#### Building plugins for Linux
|
||||||
```
|
```
|
||||||
cd scripts/linux
|
cd scripts/linux
|
||||||
./build_all.sh
|
./build_all.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Building plugins for Windows
|
#### Building plugins for Windows
|
||||||
```
|
```
|
||||||
cd scripts/windows
|
cd scripts/windows
|
||||||
./deps.sh
|
./deps.sh
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
export SCRIPTS=$(pwd)
|
||||||
|
|
||||||
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y
|
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y
|
||||||
mkdir "$HOME/development"
|
mkdir "$HOME/development"
|
||||||
mkdir "$HOME/projects"
|
mkdir "$HOME/projects"
|
||||||
|
@ -12,7 +14,7 @@ sudo apt install -y unzip pkg-config clang cmake ninja-build libgtk-3-dev
|
||||||
cd $DEVELOPMENT
|
cd $DEVELOPMENT
|
||||||
git clone https://github.com/flutter/flutter.git
|
git clone https://github.com/flutter/flutter.git
|
||||||
cd flutter
|
cd flutter
|
||||||
git checkout 3.7.12
|
git checkout 3.10.3
|
||||||
export FLUTTER_DIR=$(pwd)/bin
|
export FLUTTER_DIR=$(pwd)/bin
|
||||||
echo 'export PATH="$PATH:'${FLUTTER_DIR}'"' >> ~/.bashrc
|
echo 'export PATH="$PATH:'${FLUTTER_DIR}'"' >> ~/.bashrc
|
||||||
source ~/.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
|
# printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";' > $KEYS
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
# # build stack wallet plugins
|
# build stack wallet plugins
|
||||||
# cd $STACK_WALLET
|
cd $SCRIPTS
|
||||||
# cd scripts/android
|
./prebuild.sh
|
||||||
# ./build_all.sh
|
cd android
|
||||||
# cd ../linux
|
./build_all.sh
|
||||||
# ./build_all.sh
|
cd ../linux
|
||||||
|
./build_all.sh
|
||||||
|
|
Loading…
Reference in a new issue