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

Unified Diff: utils/apidoc/apidoc.dart

Issue 11377065: Re-included matchers documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Mock. Created 8 years, 1 month 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 | utils/apidoc/apidoc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.dart
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
index 793cd68ab74ed69a7a5c391ce10a89cc718d59b2..785c497b46fe6438e93d9e7dd7a7b360af234185 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -33,6 +33,8 @@ void main() {
bool generateAppCache = false;
List<String> excludedLibraries = <String>[];
+ List<String> includedLibraries = <String>[];
+
// Parse the command-line arguments.
for (int i = 0; i < args.length; i++) {
@@ -54,6 +56,8 @@ void main() {
default:
if (arg.startsWith('--exclude-lib=')) {
excludedLibraries.add(arg.substring('--exclude-lib='.length));
+ } else if (arg.startsWith('--include-lib=')) {
+ includedLibraries.add(arg.substring('--include-lib='.length));
} else if (arg.startsWith('--out=')) {
outputDir = new Path.fromNative(arg.substring('--out='.length));
} else {
@@ -108,8 +112,6 @@ void main() {
}
});
- final includedLibraries = <String>[];
-
var lister = new Directory.fromPath(doc.scriptDir.append('../../pkg')).list();
lister.onDir = (dirPath) {
var path = new Path.fromNative(dirPath);
« no previous file with comments | « no previous file | utils/apidoc/apidoc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698