Add Tags and RM support for srclib, don't copy dir

This commit is contained in:
Daniel Martí 2013-05-24 23:35:56 +02:00
parent c2196b2328
commit 79ec50719d
3 changed files with 66 additions and 41 deletions

View file

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