mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Build documentation updates and a new option (novcheck
This commit is contained in:
parent
73cf43ca59
commit
2895250014
2 changed files with 47 additions and 36 deletions
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
|
the SDK's ant rules, and forces the Java compiler to interpret
|
||||||
source files with this encoding. If you receive warnings during
|
source files with this encoding. If you receive warnings during
|
||||||
the compile about character encodings, you probably need this.
|
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:
|
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',
|
p = subprocess.Popen([aapt_path,'dump','badging',
|
||||||
src], stdout=subprocess.PIPE)
|
src], stdout=subprocess.PIPE)
|
||||||
output = p.communicate()[0]
|
output = p.communicate()[0]
|
||||||
|
if thisbuild.has_key('novcheck') and thisbuild['novcheck'] == "yes":
|
||||||
|
vercode = thisbuild['vercode']
|
||||||
|
version = thisbuild['version']
|
||||||
|
else:
|
||||||
vercode = None
|
vercode = None
|
||||||
version = None
|
version = None
|
||||||
for line in output.splitlines():
|
for line in output.splitlines():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue