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

Side by Side 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: Respond to awesome reviews. Created 9 years 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
« no previous file with comments | « utils/dartdoc/classify.dart ('k') | utils/dartdoc/dartdoc.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # To generate docs for a library, run this script with the path to an entrypoint
4 # .dart file as the only argument, like:
5 #
6 # $ dartdoc foo.dart
7
8 # Run from dartdoc directory to get correct relative paths.
9 startdir=$PWD
10 pushd `dirname "$0"` >>/dev/null
11
12 # Generate the client-side .js file from interact.dart if we haven't already or
13 # if it's out of date.
14 if [ "interact.dart" -nt "static/interact.js" ]
15 then
16 ../../frog/frogsh --libdir=../../frog/lib \
17 --out=static/interact.js --compile-only interact.dart
18 echo "Compiled interact.dart."
19 fi
20
21 # Generate the user's docs.
22 ../../frog/frogsh --libdir=../../frog/lib dartdoc.dart "$startdir/$1"
23
24 popd >>/dev/null
OLDNEW
« no previous file with comments | « utils/dartdoc/classify.dart ('k') | utils/dartdoc/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698