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

Unified Diff: utils/apidoc/apidoc

Issue 9705078: Allow specifying output directory for dartdoc and apidoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: utils/apidoc/apidoc
diff --git a/utils/apidoc/apidoc b/utils/apidoc/apidoc
index 62f8c3c7c6cd2f5cc8390e82748d92381a17b173..a613f11a6b2d71001f84504db3e96f39ea2e4cbc 100755
--- a/utils/apidoc/apidoc
+++ b/utils/apidoc/apidoc
@@ -33,23 +33,7 @@ compileToJs() {
compileToJs "client-static"
compileToJs "client-live-nav"
-# Clean the output directory.
-if [ -d "docs" ]; then
- rm -r docs
-fi
-mkdir docs
-
-# Copy the static files over.
-cp ../../lib/dartdoc/static/* docs
-# Overlay any apidoc-specific ones.
-cp static/* docs
-
-# Ditch the first arg so we can pass any extra arguments to dartdoc.
-shift
-
-# Figure out where the dart VM executable is.
-
# Generate the user's docs.
-dart ../apidoc/apidoc.dart $@
+dart apidoc.dart $@
popd >>/dev/null

Powered by Google App Engine
This is Rietveld 408576698