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

Issue 9705078: Allow specifying output directory for dartdoc and apidoc. (Closed)

Created:
8 years, 9 months ago by Bob Nystrom
Modified:
8 years, 9 months ago
Reviewers:
nweiz, mattsh
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Allow specifying output directory for dartdoc and apidoc. Committed: https://code.google.com/p/dart/source/detail?r=5578

Patch Set 1 #

Total comments: 13

Patch Set 2 : Respond to review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -41 lines) Patch
M lib/dartdoc/dartdoc View 1 chunk +0 lines, -9 lines 0 comments Download
M lib/dartdoc/dartdoc.dart View 1 7 chunks +73 lines, -13 lines 0 comments Download
M utils/apidoc/apidoc View 1 chunk +1 line, -17 lines 0 comments Download
M utils/apidoc/apidoc.dart View 3 chunks +31 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bob Nystrom
8 years, 9 months ago (2012-03-15 23:23:24 UTC) #1
nweiz
lgtm https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart File lib/dartdoc/dartdoc.dart (right): https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart#newcode59 lib/dartdoc/dartdoc.dart:59: var outputDir; These should have types declared, since ...
8 years, 9 months ago (2012-03-15 23:45:47 UTC) #2
mattsh
https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart File lib/dartdoc/dartdoc.dart (right): https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart#newcode83 lib/dartdoc/dartdoc.dart:83: } missing break
8 years, 9 months ago (2012-03-15 23:52:55 UTC) #3
Bob Nystrom
Thanks! https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart File lib/dartdoc/dartdoc.dart (right): https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart#newcode59 lib/dartdoc/dartdoc.dart:59: var outputDir; On 2012/03/15 23:45:48, nweiz wrote: > ...
8 years, 9 months ago (2012-03-15 23:58:23 UTC) #4
nweiz
https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart File lib/dartdoc/dartdoc.dart (right): https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart#newcode79 lib/dartdoc/dartdoc.dart:79: outputDir = arg.substring('--out='.length); On 2012/03/15 23:58:23, Bob Nystrom wrote: ...
8 years, 9 months ago (2012-03-16 00:15:49 UTC) #5
Bob Nystrom
https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart File lib/dartdoc/dartdoc.dart (right): https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart#newcode79 lib/dartdoc/dartdoc.dart:79: outputDir = arg.substring('--out='.length); On 2012/03/16 00:15:49, nweiz wrote: > ...
8 years, 9 months ago (2012-03-16 00:22:36 UTC) #6
nweiz
8 years, 9 months ago (2012-03-16 18:25:51 UTC) #7
https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dart
File lib/dartdoc/dartdoc.dart (right):

https://chromiumcodereview.appspot.com/9705078/diff/1/lib/dartdoc/dartdoc.dar...
lib/dartdoc/dartdoc.dart:79: outputDir = arg.substring('--out='.length);
On 2012/03/16 00:22:37, Bob Nystrom wrote:
> On 2012/03/16 00:15:49, nweiz wrote:
> > On 2012/03/15 23:58:23, Bob Nystrom wrote:
> > > On 2012/03/15 23:45:48, nweiz wrote:
> > > > Is there a bug filed against Options to support options with arguments?
> > > 
> > > No, but I don't really think arg parsing should be built into the core
> options
> > > class. If it was me, I'd have a separate args library to do that.
> > 
> > What's the Options class for if not arg parsing?
> 
> It's for being able to access them at all. I would like nice arg parsing too,
> but I'd like that in a separate lib on top of options so that when a better
lib
> comes along, I'm not stuck with the old one.

Maybe this is more of an API design issue, but the name "Options" seems to
indicate that it provides some, you know, options handling. Especially since
you're instantiating an object.

Anyway, this is pretty off-topic for this CL.

Powered by Google App Engine
This is Rietveld 408576698