mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Changed build instruction for android. Fixed generation of localization files script.
This commit is contained in:
parent
c0a12c6026
commit
eb6c1211fa
2 changed files with 11 additions and 1 deletions
|
@ -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.
|
**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.
|
Lastly, we will generate mobx models for the project.
|
||||||
|
|
||||||
`$ flutter packages pub run build_runner build --delete-conflicting-outputs`
|
`$ flutter packages pub run build_runner build --delete-conflicting-outputs`
|
||||||
|
|
|
@ -27,6 +27,12 @@ Future<void> main(List<String> args) async {
|
||||||
})
|
})
|
||||||
: <String, dynamic> {srcDir : inputPath};
|
: <String, dynamic> {srcDir : inputPath};
|
||||||
|
|
||||||
|
final outputDir = Directory(outputPath);
|
||||||
|
|
||||||
|
if (!outputDir.existsSync()) {
|
||||||
|
await outputDir.create();
|
||||||
|
}
|
||||||
|
|
||||||
extraInfo.forEach((key, dynamic value) async {
|
extraInfo.forEach((key, dynamic value) async {
|
||||||
if (key != srcDir) {
|
if (key != srcDir) {
|
||||||
print('Wrong key: $key');
|
print('Wrong key: $key');
|
||||||
|
|
Loading…
Reference in a new issue