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

Unified Diff: lib/src/command/run.dart

Issue 1166343002: Don't load barback for "pub run" unless necessary. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 years, 6 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 | lib/src/executable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/command/run.dart
diff --git a/lib/src/command/run.dart b/lib/src/command/run.dart
index 04cce11d9522442537cb1fba94a6ab12eb00ad81..ad82c7df42c5747494e909e3da32f8138dac8e70 100644
--- a/lib/src/command/run.dart
+++ b/lib/src/command/run.dart
@@ -12,14 +12,12 @@ import 'package:path/path.dart' as p;
import '../command.dart';
import '../executable.dart';
import '../io.dart';
-import '../log.dart' as log;
import '../utils.dart';
/// Handles the `run` pub command.
class RunCommand extends PubCommand {
String get name => "run";
- String get description => "Run an executable from a package.\n"
- "NOTE: We are currently optimizing this command's startup time.";
+ String get description => "Run an executable from a package.";
String get invocation => "pub run <executable> [args...]";
bool get allowTrailingOptions => false;
« no previous file with comments | « no previous file | lib/src/executable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698