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

Unified Diff: tools/version.dart

Issue 22396003: Removed deprecated tools/version.dart,tools/release/version.dart scripts (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/release/version.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/version.dart
diff --git a/tools/version.dart b/tools/version.dart
deleted file mode 100644
index 6972667c4a4e372709d916910f7de405a104d9bf..0000000000000000000000000000000000000000
--- a/tools/version.dart
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env dart
-// Copyright (c) 2012, 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.
-
-import "dart:io";
-import "dart:async" show getAttachedStackTrace;
-import "release/version.dart";
-
-void main() {
- Path scriptPath = new Path(new Options().script).directoryPath;
- Version version = new Version(scriptPath.append("VERSION"));
- Future f = version.getVersion();
- f.then((currentVersion) {
- print(currentVersion);
- }).catchError((e) {
- print("Could not create version number, failed with: $e");
- var trace = getAttachedStackTrace(e);
- if (trace != null) print("StackTrace: $trace");
- return true;
- });
-}
« no previous file with comments | « tools/release/version.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698