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

Unified Diff: utils/apidoc/apidoc.dart

Issue 12388048: Cleanup two warning messages when running apidoc, and update the apidoc.gyp file to rerun the tool (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | utils/apidoc/apidoc.gyp » ('j') | utils/apidoc/apidoc.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.dart
===================================================================
--- utils/apidoc/apidoc.dart (revision 19322)
+++ utils/apidoc/apidoc.dart (working copy)
@@ -116,6 +116,11 @@
var path = new Path(entity.path);
var libName = path.filename;
+ // Ignore hidden directories (like .svn) as well as pkg.xcodeproj.
+ if (libName.startsWith('.') || libName.endsWith('.xcodeproj')) {
+ return;
+ }
+
// TODO(rnystrom): Get rid of oldStylePath support when all
// packages are using new layout. See #5106.
var oldStylePath = path.append('${libName}.dart');
« no previous file with comments | « no previous file | utils/apidoc/apidoc.gyp » ('j') | utils/apidoc/apidoc.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698