mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Scan for bin and gen directories
This commit is contained in:
parent
cb1a92cb41
commit
916646e1c1
1 changed files with 9 additions and 0 deletions
|
|
@ -114,6 +114,15 @@ for app in apps:
|
||||||
msg += ' in ' + app['id'] + ' ' + thisbuild['version']
|
msg += ' in ' + app['id'] + ' ' + thisbuild['version']
|
||||||
problems.append(msg)
|
problems.append(msg)
|
||||||
|
|
||||||
|
# Presence of these is not a problem as such, but they
|
||||||
|
# shouldn't be there and mess up our source tarballs...
|
||||||
|
if os.path.exists(os.path.join(root_dir, 'bin')):
|
||||||
|
msg = "There shouldn't be a bin directory"
|
||||||
|
problems.append(msg)
|
||||||
|
if os.path.exists(os.path.join(root_dir, 'gen')):
|
||||||
|
msg = "There shouldn't be a gen directory"
|
||||||
|
problems.append(msg)
|
||||||
|
|
||||||
except BuildException as be:
|
except BuildException as be:
|
||||||
msg = "Could not scan app %s due to BuildException: %s" % (app['id'], be)
|
msg = "Could not scan app %s due to BuildException: %s" % (app['id'], be)
|
||||||
problems.append(msg)
|
problems.append(msg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue