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

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

Issue 172743003: pkg/docgen: basic test of json output (Closed) Base URL: https://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/pubspec.yaml » ('j') | pkg/docgen/test/generate_json_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/docgen.dart
diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
index 444d8bdb2306004a0274261ff782adec6365aa07..43a22a72059628cc1cc31251f61d45419dc6921a 100644
--- a/pkg/docgen/lib/docgen.dart
+++ b/pkg/docgen/lib/docgen.dart
@@ -113,9 +113,10 @@ and
///
/// Returned Future completes with true if document generation is successful.
Future<bool> docgen(List<String> files, {String packageRoot,
- bool outputToYaml: true, bool includePrivate: false, bool includeSdk: false,
+ bool outputToYaml: false, bool includePrivate: false, bool includeSdk: false,
bool parseSdk: false, bool append: false, String introFileName: '',
- out: _DEFAULT_OUTPUT_DIRECTORY, List<String> excludeLibraries : const [],
+ String out: _DEFAULT_OUTPUT_DIRECTORY,
+ List<String> excludeLibraries : const [],
bool includeDependentPackages: false, bool compile: false,
bool serve: false, bool noDocs: false, String startPage, String pubScript,
String dartBinary}) {
« no previous file with comments | « no previous file | pkg/docgen/pubspec.yaml » ('j') | pkg/docgen/test/generate_json_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698