1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-16 03:10:09 +02:00

More list comprehension fixes

This commit is contained in:
Daniel Martí 2014-09-13 13:07:21 +02:00
parent 34a3405208
commit 1757017b8a
3 changed files with 9 additions and 9 deletions

View File

@ -886,7 +886,7 @@ which architecture or platform the apk is designed to run on.
If specified, the package version code in the AndroidManifest.xml is If specified, the package version code in the AndroidManifest.xml is
replaced with the version code for the build. See also forceversion. replaced with the version code for the build. See also forceversion.
@item rm=relpath1,relpath2,... @item rm=<path1>[,<path2>,...]
Specifies the relative paths of files or directories to delete before Specifies the relative paths of files or directories to delete before
the build is done. The paths are relative to the base of the build the build is done. The paths are relative to the base of the build
directory - i.e. the root of the directory structure checked out from directory - i.e. the root of the directory structure checked out from
@ -896,7 +896,7 @@ AndroidManifest.xml.
Multiple files/directories can be specified by separating them with ','. Multiple files/directories can be specified by separating them with ','.
Directories will be recursively deleted. Directories will be recursively deleted.
@item extlibs=a,b,... @item extlibs=<lib1>[,<lib2>,...]
Comma-separated list of external libraries (jar files) from the Comma-separated list of external libraries (jar files) from the
@code{build/extlib} library, which will be placed in the @code{libs} directory @code{build/extlib} library, which will be placed in the @code{libs} directory
of the project. of the project.
@ -949,7 +949,7 @@ You can use $$SDK$$, $$NDK$$ and $$MVN3$$ to substitute the paths to the
android SDK and NDK directories, and Maven 3 executable respectively e.g. android SDK and NDK directories, and Maven 3 executable respectively e.g.
for when you need to run @code{android update project} explicitly. for when you need to run @code{android update project} explicitly.
@item scanignore=path1,path2,... @item scanignore=<path1>[,<path2>,...]
Enables one or more files/paths to be excluded from the scan process. Enables one or more files/paths to be excluded from the scan process.
This should only be used where there is a very good reason, and This should only be used where there is a very good reason, and
probably accompanied by a comment explaining why it is necessary. probably accompanied by a comment explaining why it is necessary.
@ -957,7 +957,7 @@ probably accompanied by a comment explaining why it is necessary.
When scanning the source tree for problems, matching files whose relative When scanning the source tree for problems, matching files whose relative
paths start with any of the paths given here are ignored. paths start with any of the paths given here are ignored.
@item scandelete=path1,path2,... @item scandelete=<path1>[,<path2>,...]
Similar to scanignore=, but instead of ignoring files under the given paths, Similar to scanignore=, but instead of ignoring files under the given paths,
it tells f-droid to delete the matching files directly. it tells f-droid to delete the matching files directly.
@ -1002,9 +1002,9 @@ Build with Maven instead of Ant. An extra @@<dir> tells f-droid to run Maven
inside that relative subdirectory. Sometimes it is needed to use @@.. so that inside that relative subdirectory. Sometimes it is needed to use @@.. so that
builds happen correctly. builds happen correctly.
@item preassemble=<task1> <task2> @item preassemble=<task1>[,<task2>,...]
Space-separated list of Gradle tasks to be run before the assemble task List of Gradle tasks to be run before the assemble task in a Gradle project
in a Gradle project build. build.
@item antcommands=<target1>[,<target2>,...] @item antcommands=<target1>[,<target2>,...]
Specify an alternate set of Ant commands (target) instead of the default Specify an alternate set of Ant commands (target) instead of the default

View File

@ -684,7 +684,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
commands = [config['gradle']] commands = [config['gradle']]
if thisbuild['preassemble']: if thisbuild['preassemble']:
commands += thisbuild['preassemble'].split() commands += thisbuild['preassemble']
flavours_cmd = ''.join(flavours) flavours_cmd = ''.join(flavours)
if flavours_cmd: if flavours_cmd:

View File

@ -527,7 +527,7 @@ def metafieldtype(name):
def flagtype(name): def flagtype(name):
if name in ['extlibs', 'srclibs', 'patch', 'rm', 'buildjni', if name in ['extlibs', 'srclibs', 'patch', 'rm', 'buildjni', 'preassemble',
'update', 'scanignore', 'scandelete', 'gradle', 'antcommands']: 'update', 'scanignore', 'scandelete', 'gradle', 'antcommands']:
return 'list' return 'list'
if name in ['init', 'prebuild', 'build']: if name in ['init', 'prebuild', 'build']: