Generation of pubspec.yaml file

wownero
M 2 years ago
parent 78fc443532
commit 469effd9ef

File diff suppressed because it is too large Load Diff

@ -1,108 +1,6 @@
name: cake_wallet
description: Cake Wallet.
version: 4.2.8+69
version: 0.0.0
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
cw_core:
path: ./cw_core
cw_monero:
path: ./cw_monero
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_cupertino_localizations: ^1.0.1
intl: ^0.17.0
url_launcher: ^6.0.3
qr: ^2.0.0
uuid: ^2.2.2
shared_preferences: ^0.5.3+4
flutter_secure_storage:
git:
url: https://github.com/cake-tech/flutter_secure_storage.git
ref: cake
version: 3.3.57
provider: ^5.0.0
rxdart: ^0.26.0
yaml: ^2.1.16
barcode_scan: any
http: ^0.12.0+2
path_provider: ^1.3.0
mobx: ^1.2.1+2
flutter_mobx: ^1.1.0+2
flutter_slidable: ^0.5.3
share: ^2.0.1
esys_flutter_share: ^1.0.2
date_range_picker: ^1.0.6
dio: ^3.0.10
hive: ^1.4.4+1
hive_flutter: ^0.3.1
local_auth: ^1.1.6
package_info: ^2.0.0
devicelocale: ^0.4.1
auto_size_text: ^2.1.0
dotted_border: ^1.0.5
smooth_page_indicator: ^0.2.0
webview_flutter: ^2.0.2
flutter_spinkit: ^5.0.0
uni_links: ^0.4.0
lottie: ^0.7.0
animate_do: ^2.0.0
cupertino_icons: ^1.0.2
encrypt: ^4.0.0
crypto: ^2.1.5
password: ^1.0.0
basic_utils: ^2.0.3
bitcoin_flutter:
git:
url: https://github.com/cake-tech/bitcoin_flutter.git
ref: cake
get_it: ^6.0.0
connectivity: ^3.0.3
keyboard_actions: ^3.3.0
flushbar: ^1.10.4
archive: ^2.0.13
cryptography: ^1.4.0
file_picker: ^3.0.0-nullsafety.2
unorm_dart: ^0.2.0
permission_handler: ^5.0.1+1
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^1.10.3
build_resolvers: ^1.3.10
mobx_codegen: ^1.1.0+1
hive_generator: ^0.8.1
flutter_launcher_icons: ^0.8.1
pedantic: ^1.8.0
flutter_icons:
image_path: "assets/images/app_logo.png"
android: true
ios: true
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/node_list.yml
- assets/bitcoin_electrum_server_list.yml
- assets/litecoin_electrum_server_list.yml
- assets/text/
- assets/faq/
- assets/animation/
fonts:
- family: Lato
fonts:
- asset: assets/fonts/Lato-Regular.ttf
- asset: assets/fonts/Lato-Medium.ttf
- asset: assets/fonts/Lato-Semibold.ttf
- asset: assets/fonts/Lato-Bold.ttf
sdk: ">=2.7.0 <3.0.0"

@ -1,10 +1,3 @@
name: cake_wallet
description: Cake Wallet.
version: 4.2.7+62
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
@ -99,4 +92,4 @@ flutter:
- asset: assets/fonts/Lato-Regular.ttf
- asset: assets/fonts/Lato-Medium.ttf
- asset: assets/fonts/Lato-Semibold.ttf
- asset: assets/fonts/Lato-Bold.ttf
- asset: assets/fonts/Lato-Bold.ttf

@ -0,0 +1,6 @@
name: cake_wallet
description: Cake Wallet.
version: 0.0.0
environment:
sdk: ">=2.7.0 <3.0.0"

@ -0,0 +1,25 @@
import 'dart:io';
const pubspecBasePath = 'pubspec_base.yaml';
const pubspecDescriptionPath = 'pubspec_description.yaml';
const outputPubspecPath = 'pubspec.yaml';
Future<void> main(List<String> args) async {
final pubspecBase = File(pubspecBasePath);
final pubspecDescription = File(pubspecDescriptionPath);
if (!pubspecBase.existsSync() || !pubspecDescription.existsSync()) {
throw('$pubspecBasePath or $pubspecDescriptionPath doesn't exists');
}
final pubspecBaseContent = await pubspecBase.readAsString();
final pubspecDescriptionContent = await pubspecDescription.readAsString();
final pubSpecContent = pubspecDescriptionContent + '\n\n' + pubspecBaseContent;
final outputPubspec = File(outputPubspecPath);
if (outputPubspec.existsSync()) {
await outputPubspec.delete();
}
await outputPubspec.writeAsString(pubSpecContent);
}
Loading…
Cancel
Save