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

Unified Diff: sdk/lib/_internal/pub/lib/src/command/serve.dart

Issue 26284002: Rename "install" -> "get" and "update" -> "upgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/lib/src/command/serve.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/serve.dart b/sdk/lib/_internal/pub/lib/src/command/serve.dart
index bc6f0188f06c193902b53fb82c0e58f04375a8fb..46d4913b90c2a8a932a4397072e6aa434b838a51 100644
--- a/sdk/lib/_internal/pub/lib/src/command/serve.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/serve.dart
@@ -120,16 +120,15 @@ class ServeCommand extends PubCommand {
});
}
- /// Installs dependencies is the lockfile is out of date with respect to the
+ /// Gets dependencies if the lockfile is out of date with respect to the
/// pubspec.
Future ensureLockFileIsUpToDate() {
return new Future.sync(() {
- // The server relies on an up-to-date lockfile, so install first if
- // needed.
+ // The server relies on an up-to-date lockfile, so get first if needed.
if (!entrypoint.isLockFileUpToDate()) {
- log.message("Dependencies have changed, installing...");
- return entrypoint.installDependencies().then((_) {
- log.message("Dependencies installed!");
+ log.message("Dependencies have changed, getting...");
nweiz 2013/10/07 21:25:15 Not super related to this CL, but can we make this
Bob Nystrom 2013/10/07 22:32:25 Done.
+ return entrypoint.getDependencies().then((_) {
+ log.message("Got dependencies!");
});
}
});

Powered by Google App Engine
This is Rietveld 408576698