Add prebuild script

Creates template lib/external_api_keys.dart file if it doesn't already exist
This commit is contained in:
sneurlax 2022-10-03 21:30:13 -05:00
parent c83e1b5cb2
commit 65655f4f6d

6
scripts/prebuild.sh Normal file
View 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