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

Unified Diff: utils/pub/entrypoint.dart

Issue 10951021: Add packages/ directories for dart files in web/. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | utils/tests/pub/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 abce4db8777548f03890d1710be4bb9d40cc9157..46fb3e47ea7476c57f5997532db8b3a055c65dd9 100644
--- a/utils/pub/entrypoint.dart
+++ b/utils/pub/entrypoint.dart
@@ -238,11 +238,13 @@ class Entrypoint {
var binDir = join(root.dir, 'bin');
var testDir = join(root.dir, 'test');
var exampleDir = join(root.dir, 'example');
+ 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(webDir));
}
/**
« no previous file with comments | « no previous file | utils/tests/pub/pub_install_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698