Update dartdoc to 28.4 (#37314)

This commit is contained in:
Keerti Parthasarathy 2019-07-31 13:41:27 -07:00 committed by GitHub
parent 76d13ab318
commit f3674ccfd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then
fi
# Install and activate dartdoc.
"$PUB" global activate dartdoc 0.28.3+2
"$PUB" global activate dartdoc 0.28.4
# This script generates a unified doc set, and creates
# a custom index.html, placing everything into dev/docs/doc.

View File

@ -123,6 +123,8 @@ Future<void> main(List<String> arguments) async {
);
print('\n${result.stdout}flutter version: $version\n');
dartdocBaseArgs.add('--allow-tools');
if (args['json']) {
dartdocBaseArgs.add('--json');
}