Added API docs build target to the Pub buildbot.

See issue: http://code.google.com/p/dart/issues/detail?id=4989

Review URL: https://codereview.chromium.org//11266046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14107 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
amouravski@google.com 2012-10-25 22:22:08 +00:00
parent 8ea5741261
commit ce9513affe
2 changed files with 6 additions and 0 deletions

0
client/tools/buildbot_annotated_steps.py Normal file → Executable file
View file

6
tools/bots/pub.py Normal file → Executable file
View file

@ -35,6 +35,12 @@ def PubConfig(name, is_buildbot):
def PubSteps(build_info):
with bot.BuildStep('Build API Docs'):
args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
'api_docs']
print 'Generating API Docs: %s' % (' '.join(args))
bot.RunProcess(args)
# TODO(rnystrom): Eventually test other targets here like 'utils'?
bot.RunTest('pub', build_info, ['pub'])