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

Unified Diff: pkg/docgen/bin/docgen.dart

Issue 162223002: Add --compile flag. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | pkg/docgen/lib/docgen.dart » ('j') | pkg/docgen/lib/docgen.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,9 +125,13 @@
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,
- negatable: false);
+ '(if not already present), compile with dart2js, '
+ 'and start a simple server',
+ defaultsTo: false, negatable: false);
parser.addFlag('no-docs', help: 'Do not generate any new documentation',
defaultsTo: false, negatable: false);
parser.addOption('introduction',
« no previous file with comments | « no previous file | pkg/docgen/lib/docgen.dart » ('j') | pkg/docgen/lib/docgen.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698