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

Unified Diff: lib/dartdoc/dartdoc

Issue 9555013: Get dartdoc in the SDK and working correctly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix merge error. Created 8 years, 10 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
Index: lib/dartdoc/dartdoc
diff --git a/utils/dartdoc/dartdoc b/lib/dartdoc/dartdoc
similarity index 79%
rename from utils/dartdoc/dartdoc
rename to lib/dartdoc/dartdoc
index 1a195052874f64a8392bd1d19fe93a39ce107372..070042e18c6a66a87130626e89fe0c1ce377c0c8 100755
--- a/utils/dartdoc/dartdoc
+++ b/lib/dartdoc/dartdoc
@@ -39,7 +39,7 @@ compileToJs "client-live-nav"
# Clean the output directory.
if [ -d "docs" ]; then
- rm -r docs
+ rm -r docs
fi
mkdir docs
@@ -50,12 +50,6 @@ cp -R static/* docs
shift
# Generate the user's docs.
-if [ -a "../../out/Release_ia32/dart" ]; then
- ../../out/Release_ia32/dart dartdoc.dart "$entrypoint" $@
-elif [ -a "../../xcodebuild/Release_ia32/dart" ]; then
- ../../xcodebuild/Release_ia32/dart dartdoc.dart "$entrypoint" $@
-else
- echo "Could not find the Dart VM. Did you run 'tools/build.py -m release'?"
-fi
+dart dartdoc.dart "$entrypoint" $@
popd >>/dev/null

Powered by Google App Engine
This is Rietveld 408576698