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

Unified Diff: tools/observatory_tool.py

Issue 848333003: Ensure build fails if Observatory fails to build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/observatory_tool.py
diff --git a/tools/observatory_tool.py b/tools/observatory_tool.py
index 18d50c9366a16f2a95876e1bdc12882675ea78f4..710cfa53297893ac5ce5f921f7dcadfe06bb1f5b 100755
--- a/tools/observatory_tool.py
+++ b/tools/observatory_tool.py
@@ -68,9 +68,9 @@ def Deploy(input_dir, output_dir):
def ExecuteCommand(options, args):
cmd = options.command
if (cmd == 'get'):
- PubGet(options.dart_executable, options.package_root)
+ return PubGet(options.dart_executable, options.package_root)
elif (cmd == 'build'):
- PubBuild(options.dart_executable, options.package_root, args[0])
+ return PubBuild(options.dart_executable, options.package_root, args[0])
elif (cmd == 'deploy'):
Deploy('build', 'deployed')
else:
« 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