mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Build documentation updates and a new option (novcheck
This commit is contained in:
parent
73cf43ca59
commit
2895250014
7
README
7
README
@ -169,6 +169,13 @@ configuration to the build. These are:
|
||||
the SDK's ant rules, and forces the Java compiler to interpret
|
||||
source files with this encoding. If you receive warnings during
|
||||
the compile about character encodings, you probably need this.
|
||||
prebuild=xxxx Specifies a shell command (or commands - chain with &&) to run
|
||||
before the build takes place - the only proviso being that you
|
||||
can't use , or = characters.
|
||||
novcheck=yes Don't check that the version name and code in the resulting apk
|
||||
are correct by looking at the build output - assume the metadata
|
||||
is correct. This takes away a useful level of sanity checking, and
|
||||
should only be used if the values can't be extracted.
|
||||
|
||||
Another example, using extra parameters:
|
||||
|
||||
|
4
build.py
4
build.py
@ -397,6 +397,10 @@ for app in apps:
|
||||
p = subprocess.Popen([aapt_path,'dump','badging',
|
||||
src], stdout=subprocess.PIPE)
|
||||
output = p.communicate()[0]
|
||||
if thisbuild.has_key('novcheck') and thisbuild['novcheck'] == "yes":
|
||||
vercode = thisbuild['vercode']
|
||||
version = thisbuild['version']
|
||||
else:
|
||||
vercode = None
|
||||
version = None
|
||||
for line in output.splitlines():
|
||||
|
Loading…
Reference in New Issue
Block a user