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

Unified Diff: sdk/bin/pub

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 | « no previous file | sdk/bin/pub.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/pub
diff --git a/sdk/bin/pub b/sdk/bin/pub
index 726b58be3d9727a2d2091340670768f11addc30e..95fb3b813198bf61dd4d4b508ee67b9655d658c7 100755
--- a/sdk/bin/pub
+++ b/sdk/bin/pub
@@ -8,6 +8,5 @@
BIN_DIR="$(cd "${0%/*}" ; pwd -P)"
export DART_SDK="$(cd "${BIN_DIR%/*}" ; pwd -P)"
-# TODO(dgrove): This doesn't work yet. It will once dartbug.com/6619 is
-# fixed.
-exec "$BIN_DIR"/dart "$DART_SDK"/lib/_internal/pub/pub.dart $@
+exec "$BIN_DIR"/dart --package-root="$DART_SDK"/packages/ \
+ "$DART_SDK"/lib/_internal/pub/bin/pub.dart $@
« no previous file with comments | « no previous file | sdk/bin/pub.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698