Skip to content

Commit

Permalink
Avoid analyzing API example code twice, clean-up (#103548)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer committed May 12, 2022
1 parent 2b19ecd commit 8bec125
Show file tree
Hide file tree
Showing 26 changed files with 958 additions and 1,386 deletions.
6 changes: 3 additions & 3 deletions dev/bots/analyze.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ Future<void> run(List<String> arguments) async {
...arguments,
]);

// Analyze all the sample code in the repo.
print('$clock Sample code...');
// Analyze the code in `{@tool snippet}` sections in the repo.
print('$clock Snippet code...');
await runCommand(dart,
<String>[path.join(flutterRoot, 'dev', 'bots', 'analyze_sample_code.dart'), '--verbose'],
<String>[path.join(flutterRoot, 'dev', 'bots', 'analyze_snippet_code.dart'), '--verbose'],
workingDirectory: flutterRoot,
);

Expand Down
Loading

0 comments on commit 8bec125

Please sign in to comment.