cake_wallet/scripts/android/pubspec_gen.sh
mkyq 01150ef2a7
Hv (#295)
* hv
* Change build version
2022-03-30 17:57:04 +02:00

26 lines
No EOL
571 B
Bash
Executable file

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