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

Unified Diff: utils/pub/entrypoint.dart

Issue 11362233: Place "packages" directories inside "tool". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | utils/tests/pub/install/pub_install_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/entrypoint.dart
diff --git a/utils/pub/entrypoint.dart b/utils/pub/entrypoint.dart
index 7a82a63bbb59e80d40e9dae58806bf0a54c2eeea..521f2614c4bdae4b88cf55fbc88be08a0a56c703 100644
--- a/utils/pub/entrypoint.dart
+++ b/utils/pub/entrypoint.dart
@@ -215,14 +215,16 @@ class Entrypoint {
*/
Future _linkSecondaryPackageDirs(_) {
var binDir = join(root.dir, 'bin');
- var testDir = join(root.dir, 'test');
var exampleDir = join(root.dir, 'example');
+ var testDir = join(root.dir, 'test');
+ var toolDir = join(root.dir, 'tool');
var webDir = join(root.dir, 'web');
return dirExists(binDir).chain((exists) {
if (!exists) return new Future.immediate(null);
return _linkSecondaryPackageDir(binDir);
- }).chain((_) => _linkSecondaryPackageDirsRecursively(testDir))
- .chain((_) => _linkSecondaryPackageDirsRecursively(exampleDir))
+ }).chain((_) => _linkSecondaryPackageDirsRecursively(exampleDir))
+ .chain((_) => _linkSecondaryPackageDirsRecursively(testDir))
+ .chain((_) => _linkSecondaryPackageDirsRecursively(toolDir))
.chain((_) => _linkSecondaryPackageDirsRecursively(webDir));
}
« no previous file with comments | « no previous file | utils/tests/pub/install/pub_install_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698