mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
android docker: make_apk optionally takes "release" as arg
This commit is contained in:
parent
a34d42492d
commit
243a0e3cf1
3 changed files with 13 additions and 14 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
pushd ./electrum/gui/kivy/
|
||||
|
||||
make theming
|
||||
|
||||
if [[ -n "$1" && "$1" == "release" ]] ; then
|
||||
echo -n Keystore Password:
|
||||
read -s password
|
||||
|
|
|
@ -24,22 +24,28 @@ folder.
|
|||
$ sudo docker build -t electrum-android-builder-img electrum/gui/kivy/tools
|
||||
```
|
||||
|
||||
3. Build binaries
|
||||
3. Prepare pure python dependencies
|
||||
|
||||
```
|
||||
$ sudo docker run \
|
||||
$ sudo ./contrib/make_packages
|
||||
```
|
||||
|
||||
4. Build binaries
|
||||
|
||||
```
|
||||
$ sudo docker run -it --rm \
|
||||
--name electrum-android-builder-cont \
|
||||
--rm \
|
||||
-v $PWD:/home/user/wspace/electrum \
|
||||
-v ~/.keystore:/home/user/.keystore \
|
||||
--workdir /home/user/wspace/electrum \
|
||||
electrum-android-builder-img \
|
||||
./electrum/gui/kivy/tools/build.sh
|
||||
./contrib/make_apk
|
||||
```
|
||||
This mounts the project dir inside the container,
|
||||
and so the modifications will affect it, e.g. `.buildozer` folder
|
||||
will be created.
|
||||
|
||||
4. The generated binary is in `./bin`.
|
||||
5. The generated binary is in `./bin`.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
pushd electrum/gui/kivy
|
||||
make theming
|
||||
popd
|
||||
|
||||
sudo ./contrib/make_packages
|
||||
|
||||
./contrib/make_apk
|
Loading…
Add table
Reference in a new issue