Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: tools/bots/pub.py

Issue 11266046: Added API docs build target to the Pub buildbot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed nit. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/tools/buildbot_annotated_steps.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'])
« no previous file with comments | « client/tools/buildbot_annotated_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698