1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 17:00:12 +01:00

Update the docs with the new package argument syntax and 'fdroid install'

This commit is contained in:
Daniel Martí 2013-12-30 16:54:26 +01:00
parent f5946a687e
commit 6773d5e70b

View File

@ -307,12 +307,12 @@ To build a single version of a single application, you could run the
following: following:
@example @example
./fdroid build --package=org.fdroid.fdroid --vercode 16 ./fdroid build org.fdroid.fdroid:16
@end example @end example
This attempts to build version code 16 (which is version 0.25) of the F-Droid This attempts to build version code 16 (which is version 0.25) of the F-Droid
client. Many of the tools recognise this @code{--package} parameter, allowing client. Many of the tools recognise arguments as packages, allowing their
their activity to be limited to just a single package. activity to be limited to just a limited set of packages.
If the build above was successful, two files will have been placed in the If the build above was successful, two files will have been placed in the
@code{unsigned} directory: @code{unsigned} directory:
@ -361,15 +361,14 @@ party.
@section Direct Installation @section Direct Installation
You can also build and install directly to a connected device or emulator using You can also build and install directly to a connected device or emulator
the @code{--install} switch. If you do this without using @code{--package} and using the @code{fdroid install} command. If you do this without passing
@code{--vercode} then all versions of all packages will be installed (with each packages as arguments then all the latest built and signed version available
individual version overwriting the previous!). In most cases, this will not be of each package will be installed . In most cases, this will not be what you
what you want to do, so execution will stop straight away. However, you can want to do, so execution will stop straight away. However, you can override
override this if you're sure that's what you want, by using @code{--all}. this if you're sure that's what you want, by using @code{--all}. Note that
Note that currently, no sanity checks are performed with this mode, so that if currently, no sanity checks are performed with this mode, so if the files in
the version is incorrect or that if the package name is different, you won't the signed output directory were modified, you won't be notified.
be informed.
@node Importing Applications @node Importing Applications