Chromium Code Reviews| Index: pkg/docgen/bin/docgen.dart |
| =================================================================== |
| --- pkg/docgen/bin/docgen.dart (revision 32632) |
| +++ pkg/docgen/bin/docgen.dart (working copy) |
| @@ -52,6 +52,7 @@ |
| out: options['out'], |
| excludeLibraries: excludedLibraries, |
| includeDependentPackages: options['include-dependent-packages'], |
| + compile: options['compile'], |
| serve: options['serve'], |
| dartBinary: dartBinary, |
| pubScript: pubScript, |
| @@ -124,6 +125,9 @@ |
| parser.addFlag('append', |
| help: 'Append to the docs folder, library_list.json and index.txt', |
| defaultsTo: false, negatable: false); |
| + parser.addFlag('compile', help: 'Clone the documentation viewer repo locally ' |
| + '(if not already present) and compile with dart2js', defaultsTo: false, |
| + negatable: false); |
| parser.addFlag('serve', help: 'Clone the documentation viewer repo locally ' |
| '(if not already present) and start a simple server', defaultsTo: false, |
|
Emily Fortuna
2014/02/13 00:27:56
can we add "and compile with dart2js" here too, ju
dgrove
2014/02/13 00:58:41
Done.
|
| negatable: false); |