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

Unified Diff: tools/bots/dart_sdk.py

Issue 3004233002: Split the dart_sdk bot script into two runs, one with only apidocs. (Closed)
Patch Set: Created 3 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/dart_sdk.py
diff --git a/tools/bots/dart_sdk.py b/tools/bots/dart_sdk.py
index 3b70f46de25222333ba7b3851489139695e7d834..f449293726b955c8f4f0b45f17bbc9abeebbfbb1 100644
--- a/tools/bots/dart_sdk.py
+++ b/tools/bots/dart_sdk.py
@@ -224,11 +224,14 @@ def Run(command, env=None):
return bot.RunProcess(command, env=env)
if __name__ == '__main__':
- # We always clobber the bot, to make sure releases are build from scratch
- force = CHANNEL != bot_utils.Channel.BLEEDING_EDGE
- bot.Clobber(force=force)
-
- CreateUploadSDK()
- if BUILD_OS == 'linux':
- CreateUploadVersionFile()
- CreateUploadAPIDocs()
+ if len(sys.argv) > 1 and sys.argv[2] == 'api_docs':
+ if BUILD_OS == 'linux':
+ CreateUploadAPIDocs()
+ else:
+ # We always clobber the bot, to make sure releases are build from scratch
+ force = CHANNEL != bot_utils.Channel.BLEEDING_EDGE
+ bot.Clobber(force=force)
+
+ CreateUploadSDK()
+ if BUILD_OS == 'linux':
+ CreateUploadVersionFile()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698