Skip to content

Commit

Permalink
Merge branch 'master' into coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-g committed Dec 13, 2018
2 parents 628f718 + 62aad41 commit a91d23c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 1 addition & 3 deletions test/compare_output_test.dart
Expand Up @@ -67,9 +67,7 @@ void main() {
'Top level package requires Flutter but FLUTTER_ROOT environment variable not set|test_package_flutter_plugin requires the Flutter SDK, version solving failed')));
expect(result.stderr, isNot(contains('asynchronous gap')));
expect(result.exitCode, isNot(0));
},
skip:
true /* TODO(gspencer): Re-enable as soon as Flutter's config is sane again. */);
});

test("Validate --version works", () async {
var args = <String>[dartdocBin, '--version'];
Expand Down
1 change: 1 addition & 0 deletions testing/test_package_flutter_plugin/.gitignore
@@ -0,0 +1 @@
android/**
10 changes: 8 additions & 2 deletions tool/grind.dart
Expand Up @@ -592,8 +592,7 @@ Future<void> serveFlutterDocs() async {
}

@Task('Validate flutter docs')
// TODO(jcollins-g): add buildDartdocFlutterPluginDocs once passing
@Depends(buildFlutterDocs)
@Depends(buildFlutterDocs, buildDartdocFlutterPluginDocs)
void validateFlutterDocs() {}

@Task('Build flutter docs')
Expand Down Expand Up @@ -641,6 +640,11 @@ class FlutterRepo {
['precache'],
workingDirectory: flutterPath,
);
await launcher.runStreamed(
bin,
['update-packages'],
workingDirectory: flutterPath,
);
}

factory FlutterRepo.fromPath(String flutterPath, Map<String, String> env,
Expand Down Expand Up @@ -929,6 +933,8 @@ Future<WarningsCollection> _buildDartdocFlutterPluginDocs() async {
[
'--enable-asserts',
pathLib.join(Directory.current.path, 'bin', 'dartdoc.dart'),
'--exclude-packages',
'Dart', // TODO(jcollins-g): dart-lang/dartdoc#1431
'--json',
'--link-to-remote',
'--output',
Expand Down

0 comments on commit a91d23c

Please sign in to comment.