chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a566ee4
)
lint: warn about target= in gradle builds
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 2 Dec 2015 19:28:08 +0000
(20:28 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 2 Dec 2015 19:28:08 +0000
(20:28 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index e3ca9ea3b812b4b7406f932b9a74b4d585d6dba1..9e4592d00c37fa342b64a34ce8831cd30db778d7 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-294,6
+294,8
@@
def check_builds(app):
ref = srclib.split('@')[1].split('/')[0]
if ref.startswith(s):
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():