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

Unified Diff: tools/canary.dart

Issue 837723004: Build Observatory as part of runtime (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 | « tools/build.py ('k') | tools/observatory_tool.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/canary.dart
diff --git a/samples-dev/swarm/swarm.dart b/tools/canary.dart
similarity index 55%
copy from samples-dev/swarm/swarm.dart
copy to tools/canary.dart
index d44bd2be8419fc03e53fae74b6c538c3fee638d8..cca1f90cd7be8eb2481a00a89bbc7ba7edaa6d4f 100644
--- a/samples-dev/swarm/swarm.dart
+++ b/tools/canary.dart
@@ -1,11 +1,11 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library swarm;
+// Script which exits with code 42.
-import 'swarmlib.dart';
+import 'dart:io';
void main() {
- new Swarm().run();
+ exitCode = 42;
}
« no previous file with comments | « tools/build.py ('k') | tools/observatory_tool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698