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

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

Issue 14297021: Move pub into sdk/lib/_internal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Disallow package: imports of pub. Created 7 years, 8 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 | « sdk/lib/_internal/pub/lib/src/path_source.dart ('k') | sdk/lib/_internal/pub/lib/src/pubspec.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/pub.dart
diff --git a/utils/pub/pub.dart b/sdk/lib/_internal/pub/lib/src/pub.dart
similarity index 99%
rename from utils/pub/pub.dart
rename to sdk/lib/_internal/pub/lib/src/pub.dart
index 4f1b632af545e6a3a719cce6bb34b005900e2566..32a4bd5d55fb14c72e87fd2711872557abc65d0e 100644
--- a/utils/pub/pub.dart
+++ b/sdk/lib/_internal/pub/lib/src/pub.dart
@@ -76,7 +76,7 @@ ArgParser get pubArgParser {
return parser;
}
-main() {
+void run() {
var globalOptions;
try {
globalOptions = pubArgParser.parse(new Options().arguments);
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/path_source.dart ('k') | sdk/lib/_internal/pub/lib/src/pubspec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698