Index: tools/create_sdk.py |
=================================================================== |
--- tools/create_sdk.py (revision 10996) |
+++ tools/create_sdk.py (working copy) |
@@ -58,7 +58,7 @@ |
# ....pkg/ |
# ......args/ |
# ......dartdoc/ |
-# ......i18n/ |
+# ......intl/ |
# ......logging/ |
# ......(more will come here) |
# ....util/ |
@@ -410,10 +410,10 @@ |
os.makedirs(PKG) |
# |
- # Create and populate pkg/{args, i18n, logging, unittest} |
+ # Create and populate pkg/{args, intl, logging, unittest} |
# |
- for library in ['args', 'i18n', 'logging', 'unittest']: |
+ for library in ['args', 'intl', 'logging', 'unittest']: |
src_dir = join(HOME, 'pkg', library) |
dest_dir = join(PKG, library) |
os.makedirs(dest_dir) |
@@ -421,6 +421,8 @@ |
for filename in os.listdir(src_dir): |
if filename.endswith('.dart'): |
copyfile(join(src_dir, filename), join(dest_dir, filename)) |
+ if exists(join(src_dir, 'lib')): |
+ copytree(join(src_dir, 'lib'), join(dest_dir, 'lib')) |
Emily Fortuna
2012/08/21 00:47:47
what are these lines for?
Alan Knight
2012/08/21 04:49:55
Packages can have a lib directory with pieces that
|
# Create and populate pkg/dartdoc. |
dartdoc_src_dir = join(HOME, 'pkg', 'dartdoc') |