Expand README.

This commit is contained in:
Adrian Malacoda 2018-06-24 01:42:09 -05:00
parent 4bfc41080a
commit 70c221df55

View File

@ -3,6 +3,8 @@ Self-contained build environment using F-Droid tools. This extends [docker-execu
The idea is to be able to add in your own app's configuration and build it with F-Droid's tooling.
See [Build Server Setup](https://f-droid.org/docs/Build_Server_Setup) on f-droid.org and [issue #370](https://gitlab.com/fdroid/fdroidserver/issues/370) on `fdroidserver` (Improve first time user experience of fdroid build).
## Building
`docker build -t fdroidbuild .`
@ -19,4 +21,6 @@ If you have a directory named `fdroid` at the root of your repository, its conte
A F-Droid metadata file is named `<appId>.txt` and [looks like this](https://gitlab.com/fdroid/fdroiddata/blob/master/templates/app-full). So, if you have such a file located at `fdroid/net.monarchpass.app.txt`, you should be able to run this:
`docker run -v "$(pwd)/build:/fdroiddata/build" -v "$(pwd):/repo" fdroid build <appId> -l`
`docker run -v "$(pwd)/build:/fdroiddata/build" -v "$(pwd):/repo" fdroidbuild build net.monarchpass.app.txt -l`
and build the latest version of that app.