mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Add Tags and RM support for srclib, don't copy dir
This commit is contained in:
parent
c2196b2328
commit
79ec50719d
3 changed files with 66 additions and 41 deletions
|
|
@ -657,11 +657,17 @@ def main():
|
|||
build_succeeded = []
|
||||
for app in apps:
|
||||
|
||||
build_dir = 'build/' + app['id']
|
||||
if app['Repo Type'] == 'srclib':
|
||||
build_dir = os.path.join('build', 'srclib')
|
||||
else:
|
||||
build_dir = os.path.join('build', app['id'])
|
||||
|
||||
# Set up vcs interface and make sure we have the latest code...
|
||||
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path)
|
||||
|
||||
if app['Repo Type'] == 'srclib':
|
||||
build_dir = os.path.join(build_dir, app['Repo'])
|
||||
|
||||
if options.wiki:
|
||||
import mwclient
|
||||
site = mwclient.Site(wiki_server, path=wiki_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue