mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:27:43 +00:00
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:
parent
8ea5741261
commit
ce9513affe
0
client/tools/buildbot_annotated_steps.py
Normal file → Executable file
0
client/tools/buildbot_annotated_steps.py
Normal file → Executable file
6
tools/bots/pub.py
Normal file → Executable file
6
tools/bots/pub.py
Normal file → Executable 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'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue