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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/version.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: sdk/lib/_internal/pub_generated/lib/src/command/version.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/version.dart b/sdk/lib/_internal/pub_generated/lib/src/command/version.dart
similarity index 56%
copy from sdk/lib/_internal/pub/lib/src/command/version.dart
copy to sdk/lib/_internal/pub_generated/lib/src/command/version.dart
index bab6c6b9bbd69cdefd2d100207e32c11c48423cc..208c2f5657be22c19e4c875a2155c435be49ea50 100644
--- a/sdk/lib/_internal/pub/lib/src/command/version.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/version.dart
@@ -1,20 +1,11 @@
-// 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.
-
library pub.command.version;
-
import 'dart:async';
-
import '../command.dart';
import '../log.dart' as log;
import '../sdk.dart' as sdk;
-
-/// Handles the `version` pub command.
class VersionCommand extends PubCommand {
String get description => "Print pub version.";
String get usage => "pub version";
-
Future onRun() {
log.message("Pub ${sdk.version}");
return null;

Powered by Google App Engine
This is Rietveld 408576698