mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-24 11:15:58 +00:00
Merge pull request #916 from cypherstack/scripts
Add kNanswapApiKey and kNanoSwapRpcApiKey to prebuild scripts
This commit is contained in:
commit
218809327a
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
$KEYS = "..\lib\external_api_keys.dart"
|
$KEYS = "..\lib\external_api_keys.dart"
|
||||||
if (-not (Test-Path $KEYS)) {
|
if (-not (Test-Path $KEYS)) {
|
||||||
Write-Host "prebuild.ps1: creating template lib/external_api_keys.dart file"
|
Write-Host "prebuild.ps1: creating template lib/external_api_keys.dart file"
|
||||||
"const kChangeNowApiKey = '';" + "`nconst kSimpleSwapApiKey = '';" | Out-File $KEYS -Encoding UTF8
|
"const kChangeNowApiKey = '';" + "`nconst kSimpleSwapApiKey = '';" + "`nconst kNanswapApiKey = '';" + "`nconst kNanoSwapRpcApiKey = '';" | Out-File $KEYS -Encoding UTF8
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create template wallet test parameter files if they don't already exist
|
# Create template wallet test parameter files if they don't already exist
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
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'
|
||||||
printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";\n' > $KEYS
|
printf 'const kChangeNowApiKey = "";\nconst kSimpleSwapApiKey = "";\nconst kNanswapApiKey = "";\nconst kNanoSwapRpcApiKey = "";\n' > $KEYS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create template wallet test parameter files if they don't already exist
|
# Create template wallet test parameter files if they don't already exist
|
||||||
|
|
Loading…
Reference in a new issue