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

Unified Diff: utils/apidoc/apidoc.dart

Issue 10658031: Dart2js called as 'dart2js.bat' on Windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « lib/dartdoc/dartdoc.dart ('k') | no next file » | 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 d0362e6133306a113a1ae882916b9e68f68c6b85..0cdf0dca6e17aa227788e47e6b54181aaabeb255 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -69,7 +69,8 @@ void main() {
final frogPath = joinPaths(doc.scriptDir, '../../lib/dartdoc/frog/');
if (compilerPath === null) {
- compilerPath = 'dart2js';
+ compilerPath
+ = Platform.operatingSystem == 'windows' ? 'dart2js.bat' : 'dart2js';
}
doc.cleanOutputDirectory(outputDir);
« no previous file with comments | « lib/dartdoc/dartdoc.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698