mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
Update build instruction for android
This commit is contained in:
parent
c7ce3dbd5c
commit
f21bde5dab
1 changed files with 21 additions and 0 deletions
|
@ -97,6 +97,17 @@ Proceed into the source code before proceeding with the next steps:
|
|||
|
||||
### 8. Execute Build & Setup Commands for CakeWallet
|
||||
|
||||
We need to generate project settings like app name, app icon, package name, etc. For this need to setup environment variables and configure project files.
|
||||
|
||||
Please pick what app you want to build: cakewallet or monero.com.
|
||||
|
||||
`$ ./app_env.sh <cakewallet OR monero.com>`
|
||||
(it should be like `$ ./app_env.sh cakewallet` or `$ ./app_env.sh monero.com`)
|
||||
|
||||
Then run configuration script for setup app name, app icon and etc:
|
||||
|
||||
`$ ./app_config.sh`
|
||||
|
||||
Build the Monero libraries and their dependencies:
|
||||
|
||||
`$ ./build_all.sh`
|
||||
|
@ -129,6 +140,16 @@ Then we need to generate localization files.
|
|||
|
||||
Lastly, we will generate mobx models for the project.
|
||||
|
||||
Generate mobx models for `cw_core`:
|
||||
|
||||
`cd cw_core && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs`
|
||||
|
||||
Then get back to project root directory:
|
||||
|
||||
`cd ..`
|
||||
|
||||
Finally build mobx models for the app:
|
||||
|
||||
`$ flutter packages pub run build_runner build --delete-conflicting-outputs`
|
||||
|
||||
### 9. Build!
|
||||
|
|
Loading…
Reference in a new issue