| Index: dart/utils/apidoc/apidoc.dart
|
| diff --git a/dart/utils/apidoc/apidoc.dart b/dart/utils/apidoc/apidoc.dart
|
| index a327c2a4410dc4dad85cbd6db8f9f1e285eac9df..2d8aaf9b74c0c907a3412b98fd845cab45169a78 100644
|
| --- a/dart/utils/apidoc/apidoc.dart
|
| +++ b/dart/utils/apidoc/apidoc.dart
|
| @@ -33,7 +33,6 @@ void main() {
|
|
|
| int mode = doc.MODE_STATIC;
|
| String outputDir = 'docs';
|
| - String compilerPath;
|
|
|
| // Parse the command-line arguments.
|
| for (int i = 0; i < args.length; i++) {
|
| @@ -51,8 +50,6 @@ void main() {
|
| default:
|
| if (arg.startsWith('--out=')) {
|
| outputDir = arg.substring('--out='.length);
|
| - } else if (arg.startsWith('--compiler=')) {
|
| - compilerPath = arg.substring('--compiler='.length);
|
| } else {
|
| print('Unknown option: $arg');
|
| return;
|
| @@ -62,12 +59,9 @@ void main() {
|
| }
|
|
|
| final frogPath = joinPaths(doc.scriptDir, '../../frog/');
|
| + final compilerPath = joinPaths(frogPath, 'minfrog');
|
| final libDir = joinPaths(frogPath, 'lib');
|
|
|
| - if (compilerPath === null) {
|
| - compilerPath = joinPaths(frogPath, 'frog.py');
|
| - }
|
| -
|
| doc.cleanOutputDirectory(outputDir);
|
|
|
| // Compile the client-side code to JS.
|
|
|