Skip to content

Commit 835570a

Browse files
committed
flatten changes
1 parent b299577 commit 835570a

File tree

371 files changed

+7438
-5360
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+7438
-5360
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# BSD-style license that can be found in the LICENSE file.
44

55
install:
6-
- ps: wget https://gsdview.appspot.com/dart-archive/channels/stable/raw/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
6+
- ps: wget https://gsdview.appspot.com/dart-archive/channels/dev/raw/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
77
- cmd: echo "Unzipping dart-sdk..."
88
- cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul
99
- set PATH=%PATH%;C:\tools\dart-sdk\bin

bin/dartdoc.dart

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ main(List<String> arguments) async {
174174
assert(message.isNotEmpty);
175175

176176
if (record.level < logging.Level.WARNING) {
177-
if (message.endsWith('...')) {
177+
if (showProgress && message.endsWith('...')) {
178178
// Assume there may be more progress to print, so omit the trailing
179179
// newline
180180
writingProgress = true;
@@ -261,11 +261,11 @@ main(List<String> arguments) async {
261261
reexportMinConfidence:
262262
double.parse(args['ambiguous-reexport-scorer-min-confidence']),
263263
verboseWarnings: args['verbose-warnings'],
264+
excludePackages: args['exclude-packages'],
264265
dropTextFrom: dropTextFrom);
265266

266267
DartDoc dartdoc = new DartDoc(inputDir, excludeLibraries, sdkDir, generators,
267-
outputDir, packageMeta, includeLibraries,
268-
includeExternals: includeExternals);
268+
outputDir, packageMeta, includeLibraries, includeExternals);
269269

270270
dartdoc.onCheckProgress.listen(logProgress);
271271
await Chain.capture(() async {
@@ -275,7 +275,7 @@ main(List<String> arguments) async {
275275
},
276276
zoneSpecification: new ZoneSpecification(
277277
print: (Zone self, ZoneDelegate parent, Zone zone, String line) =>
278-
logPrint(line) ));
278+
logPrint(line)));
279279
}, onError: (e, Chain chain) {
280280
if (e is DartDocFailure) {
281281
stderr.writeln('\nGeneration failed: ${e}.');
@@ -325,6 +325,8 @@ ArgParser _createArgsParser() {
325325
'(optional text next to the package name and version).');
326326
parser.addOption('exclude',
327327
allowMultiple: true, splitCommas: true, help: 'Library names to ignore.');
328+
parser.addOption('exclude-packages',
329+
allowMultiple: true, splitCommas: true, help: 'Package names to ignore.');
328330
parser.addOption('include',
329331
allowMultiple: true,
330332
splitCommas: true,

0 commit comments

Comments
 (0)