stack_wallet/scripts/prebuild.sh
sneurlax 65655f4f6d Add prebuild script
Creates template lib/external_api_keys.dart file if it doesn't already exist
2022-10-03 21:30:13 -05:00

6 lines
265 B
Bash

# 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