mirror of
https://github.com/flutter/packages.git
synced 2025-08-24 03:18:54 +08:00
Enable analysis for the tool directory (#3853)
Since the tooling doesn't live in packages/, we're not currently analyzing it. This enables analysis so that we won't have analyzer issues creeping in over time. To minimize complexity, this just adds it directly to the Cirrus configuration rather than building knowledge of the tool directory into the tool itself.
This commit is contained in:
@ -101,13 +101,13 @@ class DriveExamplesCommand extends PluginCommand {
|
||||
fileSystem.directory(p.join(example.path, 'integration_test'));
|
||||
|
||||
if (await integrationTests.exists()) {
|
||||
await for (final FileSystemEntity integration_test
|
||||
await for (final FileSystemEntity integrationTest
|
||||
in integrationTests.list()) {
|
||||
if (!integration_test.basename.endsWith('_test.dart')) {
|
||||
if (!integrationTest.basename.endsWith('_test.dart')) {
|
||||
continue;
|
||||
}
|
||||
targetPaths
|
||||
.add(p.relative(integration_test.path, from: example.path));
|
||||
.add(p.relative(integrationTest.path, from: example.path));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user