Fixes for tool/generate_pubspec.dart. Add pubspec into .gitignore
M committed
Jan 10, 2022 at 17:04 UTC
d5e9bf3b3c85d7bf4ce1fc328651c52bd1d9fbab
10 files changed
+8
-18
.gitignore
+7
-1
@@ -119,5 +119,11 @@ lib/monero/monero.dart
119
120
ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_180.png
121
ios/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_120.png
122
-android/app/src/main/res/
122
+android/app/src/main/res/mipmap-*
123
+android/app/src/main/res/drawable/ic_launcher.png
124
+!android/app/src/main/res/drawable/launch_background.xml
125
+!android/app/src/main/res/values/styles.xml
126
assets/images/app_logo.png
127
+
128
+/pubspec.yaml
129
+/pubspec.lock
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
deleted
-5
@@ -1,5 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
- <background android:drawable="@android:color/white" />
4
- <foreground android:drawable="@drawable/ic_launcher" />
5
-</adaptive-icon>
\ No newline at end of file
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
pubspec.lock
deleted
-5
@@ -1,5 +0,0 @@
1
-# Generated by pub
2
-# See https://dart.dev/tools/pub/glossary#lockfile
3
-packages: {}
4
-sdks:
5
- dart: ">=2.7.0 <3.0.0"
pubspec.yaml
deleted
-6
@@ -1,6 +0,0 @@
1
-name: cake_wallet
2
-description: Cake Wallet.
3
-version: 0.0.0
4
-
5
-environment:
6
- sdk: ">=2.7.0 <3.0.0"
\ No newline at end of file
tool/generate_pubspec.dart
+1
-1
@@ -9,7 +9,7 @@ Future<void> main(List<String> args) async {
9
final pubspecDescription = File(pubspecDescriptionPath);
10
11
if (!pubspecBase.existsSync() || !pubspecDescription.existsSync()) {
12
- throw('$pubspecBasePath or $pubspecDescriptionPath doesn't exists');
12
+ throw("$pubspecBasePath or $pubspecDescriptionPath doesn't exists");
13
}
14
15
final pubspecBaseContent = await pubspecBase.readAsString();