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

Unified Diff: lib/dartdoc/dartdoc.dart

Issue 9705088: Generate API docs during build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix arg parsing. Created 8 years, 9 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
Index: lib/dartdoc/dartdoc.dart
diff --git a/lib/dartdoc/dartdoc.dart b/lib/dartdoc/dartdoc.dart
index b590dd4df87d90c14e0e21e614bade1fb088efcd..23b0297831ba074b7e359f01446a0ddb54735656 100644
--- a/lib/dartdoc/dartdoc.dart
+++ b/lib/dartdoc/dartdoc.dart
@@ -140,8 +140,9 @@ void cleanOutputDirectory(String path) {
final outputDir = new Directory(path);
if (outputDir.existsSync()) {
outputDir.deleteRecursivelySync();
- outputDir.createSync();
}
+
+ outputDir.createSync();
}
/**
« no previous file with comments | « frog/reader.dart ('k') | utils/apidoc/apidoc.dart » ('j') | utils/apidoc/apidoc.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698