mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 23:23:27 +02:00
lint: warn about target= in gradle builds
This commit is contained in:
parent
a566ee4475
commit
7e28e0ed90
@ -294,6 +294,8 @@ def check_builds(app):
|
|||||||
ref = srclib.split('@')[1].split('/')[0]
|
ref = srclib.split('@')[1].split('/')[0]
|
||||||
if ref.startswith(s):
|
if ref.startswith(s):
|
||||||
yield "Branch '%s' used as commit in srclib '%s'" % (s, srclib)
|
yield "Branch '%s' used as commit in srclib '%s'" % (s, srclib)
|
||||||
|
if build.target and build.method() == 'gradle':
|
||||||
|
yield "target= has no gradle support"
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
Reference in New Issue
Block a user