Index: tools/bots/pub.py |
diff --git a/tools/bots/pub.py b/tools/bots/pub.py |
old mode 100644 |
new mode 100755 |
index 09139316b0f3bdce5d5f077f4be2f1a49492ce0d..41d674570c379bde35e4ac1b93ad9861beb81175 |
--- 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']) |