mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
Merge pull request #118 from sneurlax/script/prebuild
Add prebuild script to create template external_api_keys.dart file
This commit is contained in:
commit
a9b108418a
2 changed files with 16 additions and 0 deletions
10
README.md
10
README.md
|
@ -48,6 +48,16 @@ sudo apt install build-essential debhelper cmake libclang-dev libncurses5-dev cl
|
|||
sudo apt install unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake openjdk-8-jre-headless
|
||||
```
|
||||
|
||||
Run prebuild script
|
||||
|
||||
```
|
||||
cd scripts
|
||||
./prebuild.sh
|
||||
// when finished go back to the root directory
|
||||
cd ..
|
||||
```
|
||||
|
||||
|
||||
Remove pre-installed system libraries for the following packages built by cryptography plugins in the crypto_plugins folder: `boost iconv libjson-dev libsecret openssl sodium unbound zmq`. You can use
|
||||
```
|
||||
sudo apt list --installed | grep boost
|
||||
|
|
6
scripts/prebuild.sh
Normal file
6
scripts/prebuild.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Create template lib/external_api_keys.dart file if it doesn't already exist
|
||||
KEYS=../lib/external_api_keys.dart
|
||||
if ! test -f "$KEYS"; then
|
||||
echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
|
||||
echo 'const kChangeNowApiKey = "";' > $KEYS
|
||||
fi
|
Loading…
Reference in a new issue