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

Unified Diff: utils/dartdoc/dartdoc

Issue 8725007: Lots of stuff hooking up markdown to dartdoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Implement removeRange() on List in frog. Created 9 years, 1 month 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/dartdoc/dartdoc
diff --git a/utils/dartdoc/dartdoc b/utils/dartdoc/dartdoc
new file mode 100755
index 0000000000000000000000000000000000000000..0aededcade3d052053300d02f7c8eb6bf4098bfe
--- /dev/null
+++ b/utils/dartdoc/dartdoc
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# To generate docs for a library, run this script with the path to an entrypoint
+# .dart file as the only argument, like:
+#
+# $ dartdoc foo.dart
+
+# Generate the client-side .js file from interact.dart if we haven't already or
+# if it's out of date.
+if [ "interact.dart" -nt "static/interact.js" ]
+ then
+ ../../frog/frogsh --libdir=../../frog/lib --out=static/interact.js \
Jennifer Messerly 2011/11/28 23:08:13 probably want to get `dirname $0` make make paths
Bob Nystrom 2011/11/29 02:44:08 Done.
+ --compile-only interact.dart
+ echo "Compiled interact.dart."
+fi
+
+# Generate the user's docs.
+../../frog/frogsh --libdir=../../frog/lib dartdoc.dart "$1"

Powered by Google App Engine
This is Rietveld 408576698