mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-20 14:19:07 +00:00
Merge pull request #152 from cypherstack/scripts/setup
Add template/default SimpleSwap API key const
This commit is contained in:
commit
769fd1518a
2 changed files with 2 additions and 2 deletions
2
scripts/prebuild.sh
Normal file → Executable file
2
scripts/prebuild.sh
Normal file → Executable file
|
@ -2,5 +2,5 @@
|
||||||
KEYS=../lib/external_api_keys.dart
|
KEYS=../lib/external_api_keys.dart
|
||||||
if ! test -f "$KEYS"; then
|
if ! test -f "$KEYS"; then
|
||||||
echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
|
echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
|
||||||
echo 'const kChangeNowApiKey = "";' > $KEYS
|
printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";' > $KEYS
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -29,7 +29,7 @@ git submodule update --init --recursive
|
||||||
KEYS="$HOME/projects/stack_wallet/lib/external_api_keys.dart"
|
KEYS="$HOME/projects/stack_wallet/lib/external_api_keys.dart"
|
||||||
if ! test -f "$KEYS"; then
|
if ! test -f "$KEYS"; then
|
||||||
echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
|
echo 'prebuild.sh: creating template lib/external_api_keys.dart file'
|
||||||
echo 'const kChangeNowApiKey = "";' > $KEYS
|
printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";' > $KEYS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#install stack wallet dependencies
|
#install stack wallet dependencies
|
||||||
|
|
Loading…
Reference in a new issue