1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

lint: warn about target= in gradle builds

This commit is contained in:
Daniel Martí 2015-12-02 20:28:08 +01:00
parent a566ee4475
commit 7e28e0ed90

View File

@ -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():