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

Side by Side Diff: utils/dartdoc/htmldoc

Issue 9555013: Get dartdoc in the SDK and working correctly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update copyright date. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # To generate docs for the HTML library, including annotations on the
4 # mapping to and from the DOM library, run this script like:
5 #
6 # $ htmldoc
7
8 # Run from dartdoc directory to get correct relative paths.
9 pushd `dirname "$0"` >>/dev/null
10
11 # Generate the client-side .js file from interact.dart if we haven't already or
12 # if it's out of date.
13 if [ "interact.dart" -nt "static/interact.js" ]
14 then
15 ../../frog/minfrog --libdir=../../frog/lib \
16 --out=static/interact.js --compile-only interact.dart
17 echo "Compiled interact.dart."
18 fi
19
20 # Clean the output directory.
21 if [ -d "docs" ]; then
22 rm -r docs
23 fi
24 mkdir docs
25
26 # Copy the static files over.
27 cp static/* docs
28
29 # Generate the user's docs.
30 ../../frog/minfrog --libdir=../../frog/lib \
31 ../../client/html/scripts/html_doc.dart
32
33 popd >>/dev/null
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698