You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cake_wallet/scripts/android/pubspec_gen.sh

30 lines
674 B

#!/bin/bash
MONERO_COM=monero.com
CAKEWALLET=cakewallet
HAVEN=haven
WOWNERO=wownero
CONFIG_ARGS=""
case $APP_ANDROID_TYPE in
$MONERO_COM)
CONFIG_ARGS="--monero"
;;
$CAKEWALLET)
CONFIG_ARGS="--monero --bitcoin --haven --wownero"
;;
$HAVEN)
CONFIG_ARGS="--haven"
;;
$WOWNERO)
CONFIG_ARGS="--wownero"
;;
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