Skip to content

Commit

Permalink
android docker: make_apk optionally takes "release" as arg
Browse files Browse the repository at this point in the history
  • Loading branch information
SomberNight committed Nov 27, 2018
1 parent a34d424 commit 2b3dda5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 2 additions & 0 deletions contrib/make_apk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

pushd ./electrum/gui/kivy/

make theming

if [[ -n "$1" && "$1" == "release" ]] ; then
echo -n Keystore Password:
read -s password
Expand Down
11 changes: 9 additions & 2 deletions electrum/gui/kivy/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,23 @@ folder.
$ sudo docker build -t electrum-android-builder-img electrum/gui/kivy/tools
```
3. Prepare pure python dependencies
```
$ sudo ./contrib/make_packages
```
3. Build binaries
```
$ sudo docker run \
--name electrum-android-builder-cont \
--rm \
--rm -i \
-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
Expand Down
9 changes: 0 additions & 9 deletions electrum/gui/kivy/tools/build.sh

This file was deleted.

0 comments on commit 2b3dda5

Please sign in to comment.