Changed build instruction for android. Fixed generation of localization files script.

wownero
M 3 years ago
parent c0a12c6026
commit eb6c1211fa

@ -125,6 +125,10 @@ Next, we must generate key properties based on the secure keystore you generated
**REMINDER:** The *above* command will **not** succeed unless you replaced the `storePassword` and `keyPassword` variables with the correct passwords for your keystore.
Then we need to generate localization files.
`$ flutter packages pub run tool/generate_localization.dart`
Lastly, we will generate mobx models for the project.
`$ flutter packages pub run build_runner build --delete-conflicting-outputs`
@ -133,4 +137,4 @@ Lastly, we will generate mobx models for the project.
`$ flutter build apk —release`
Copyright (c) 2021 Cake Technologies LLC.
Copyright (c) 2021 Cake Technologies LLC.

@ -27,6 +27,12 @@ Future<void> main(List<String> args) async {
})
: <String, dynamic> {srcDir : inputPath};
final outputDir = Directory(outputPath);
if (!outputDir.existsSync()) {
await outputDir.create();
}
extraInfo.forEach((key, dynamic value) async {
if (key != srcDir) {
print('Wrong key: $key');

Loading…
Cancel
Save