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..1ed49525e68fdacb94fd827eb414ae93eece3734 |
--- a/tools/bots/pub.py |
+++ b/tools/bots/pub.py |
@@ -35,6 +35,11 @@ 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) |
Bob Nystrom
2012/10/25 20:03:21
Nit, but can you add a blank line after this?
Andrei Mouravski
2012/10/25 22:13:39
Done.
|
# TODO(rnystrom): Eventually test other targets here like 'utils'? |
bot.RunTest('pub', build_info, ['pub']) |