cake_wallet/scripts/android/pubspec_gen.sh
2022-01-11 20:20:44 +02:00

22 lines
No EOL
478 B
Bash
Executable file

#!/bin/bash
MONERO_COM=monero.com
CAKEWALLET=cakewallet
CONFIG_ARGS=""
case $APP_ANDROID_TYPE in
$MONERO_COM)
CONFIG_ARGS="--monero"
;;
$CAKEWALLET)
CONFIG_ARGS="--monero --bitcoin"
;;
esac
cd ../..
cp -rf pubspec_description.yaml pubspec.yaml
flutter pub get
flutter pub run tool/generate_pubspec.dart
flutter pub get
flutter packages pub run tool/configure.dart $CONFIG_ARGS
cd scripts/android