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

Unified Diff: tools/create_sdk.py

Issue 9722012: Get rid of bash for dartdoc and do the whole thing in dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove cute comment. Created 8 years, 9 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 | « lib/dartdoc/utils.dart ('k') | utils/apidoc/apidoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
diff --git a/tools/create_sdk.py b/tools/create_sdk.py
index 310337432f1b6575e043add16a8b8ff361bbe147..f908cc787a4557052466b09b65311ab73b64fefb 100644
--- a/tools/create_sdk.py
+++ b/tools/create_sdk.py
@@ -35,7 +35,7 @@
# ......dom/
# ........dom.dart
# ......frog/
-# ......html/
+# ......html/
# ........html_frog.dart
# ........html_dartium.dart
# ......json/
@@ -164,7 +164,7 @@ def Main(argv):
copyfile(join(HOME, 'runtime', 'bin', 'builtin.dart'),
join(builtin_dest_dir, 'builtin_runtime.dart'))
#
- # rename the print function in dart:builtin
+ # rename the print function in dart:builtin
# so that it does not conflict with the print function in dart:core
#
ReplaceInFiles([
@@ -282,17 +282,14 @@ def Main(argv):
copytree(dartdoc_src_dir, dartdoc_dest_dir,
ignore=ignore_patterns('.svn', 'docs'))
ReplaceInFiles([
- join(LIB, 'dartdoc', 'dartdoc')
- ], [
- ("../../frog/minfrog", "../../bin/frogc"),
- ("--libdir=../../frog/lib", "--libdir=../")
- ])
- ReplaceInFiles([
join(LIB, 'dartdoc', 'dartdoc.dart')
], [
("#import\('../../frog", "#import('../frog"),
- ("'../../frog'", "'../frog'"),
- ("'--libdir=../../frog/lib'", "'--libdir=../'")
+ ("joinPaths\(scriptDir, '../../frog/'\)",
+ "joinPaths(scriptDir, '../frog/')"),
+ ("joinPaths\(frogPath, 'lib'\)", "joinPaths(frogPath, '..')"),
+ ("joinPaths\(frogPath, 'minfrog'\)",
+ "joinPaths(scriptDir, '../../bin/frogc')")
])
ReplaceInFiles([
join(LIB, 'dartdoc', 'classify.dart'),
« no previous file with comments | « lib/dartdoc/utils.dart ('k') | utils/apidoc/apidoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698