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

Unified Diff: tools/create_sdk.py

Issue 10829442: Rename i18n to intl (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « pkg/intl/pubspec.yaml ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')
« no previous file with comments | « pkg/intl/pubspec.yaml ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698