From ce9513affec62b9079b219d61bee63f30d86e839 Mon Sep 17 00:00:00 2001 From: "amouravski@google.com" Date: Thu, 25 Oct 2012 22:22:08 +0000 Subject: [PATCH] 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 --- client/tools/buildbot_annotated_steps.py | 0 tools/bots/pub.py | 6 ++++++ 2 files changed, 6 insertions(+) mode change 100644 => 100755 client/tools/buildbot_annotated_steps.py mode change 100644 => 100755 tools/bots/pub.py diff --git a/client/tools/buildbot_annotated_steps.py b/client/tools/buildbot_annotated_steps.py old mode 100644 new mode 100755 diff --git a/tools/bots/pub.py b/tools/bots/pub.py old mode 100644 new mode 100755 index 09139316b0f..41d674570c3 --- a/tools/bots/pub.py +++ b/tools/bots/pub.py @@ -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'])