mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
Merge pull request #220 from cake-tech/pubspec-fixes
Add generation of of pubspec to app_config.sh
This commit is contained in:
commit
47c3b37fc2
3 changed files with 4 additions and 1 deletions
|
@ -22,4 +22,5 @@ esac
|
|||
|
||||
cd ../..
|
||||
flutter pub get
|
||||
flutter pub run tool/generate_pubspec.dart
|
||||
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|
||||
|
|
|
@ -25,6 +25,8 @@ case $APP_IOS_TYPE in
|
|||
;;
|
||||
esac
|
||||
|
||||
flutter pub get
|
||||
flutter pub run tool/generate_pubspec.dart
|
||||
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|
||||
cd $DIR
|
||||
$DIR/app_icon.sh
|
||||
|
|
|
@ -279,7 +279,7 @@ Future<void> generatePubspec({bool hasMonero, bool hasBitcoin}) async {
|
|||
cw_bitcoin:
|
||||
path: ./cw_bitcoin
|
||||
""";
|
||||
final inputFile = File(pubspecDefaultPath);
|
||||
final inputFile = File(pubspecOutputPath);
|
||||
final inputText = await inputFile.readAsString();
|
||||
final inputLines = inputText.split('\n');
|
||||
final dependenciesIndex = inputLines.indexWhere((line) => line.toLowerCase() == 'dependencies:');
|
||||
|
|
Loading…
Reference in a new issue