Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# BSD-style license that can be found in the LICENSE file.

install:
- ps: wget https://gsdview.appspot.com/dart-archive/channels/stable/raw/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
- ps: wget https://gsdview.appspot.com/dart-archive/channels/dev/raw/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
- cmd: echo "Unzipping dart-sdk..."
- cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul
- set PATH=%PATH%;C:\tools\dart-sdk\bin
Expand Down
8 changes: 5 additions & 3 deletions bin/dartdoc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ main(List<String> arguments) async {
reexportMinConfidence:
double.parse(args['ambiguous-reexport-scorer-min-confidence']),
verboseWarnings: args['verbose-warnings'],
excludePackages: args['exclude-packages'],
dropTextFrom: dropTextFrom);

DartDoc dartdoc = new DartDoc(inputDir, excludeLibraries, sdkDir, generators,
outputDir, packageMeta, includeLibraries,
includeExternals: includeExternals);
outputDir, packageMeta, includeLibraries, includeExternals);

dartdoc.onCheckProgress.listen(logProgress);
await Chain.capture(() async {
Expand All @@ -275,7 +275,7 @@ main(List<String> arguments) async {
},
zoneSpecification: new ZoneSpecification(
print: (Zone self, ZoneDelegate parent, Zone zone, String line) =>
logPrint(line) ));
logPrint(line)));
}, onError: (e, Chain chain) {
if (e is DartDocFailure) {
stderr.writeln('\nGeneration failed: ${e}.');
Expand Down Expand Up @@ -325,6 +325,8 @@ ArgParser _createArgsParser() {
'(optional text next to the package name and version).');
parser.addOption('exclude',
allowMultiple: true, splitCommas: true, help: 'Library names to ignore.');
parser.addOption('exclude-packages',
allowMultiple: true, splitCommas: true, help: 'Package names to ignore.');
parser.addOption('include',
allowMultiple: true,
splitCommas: true,
Expand Down
Loading