Skip to content

Commit c1bd41b

Browse files
[various] Standardize the extension for Pigeon-generated Dart (#7029)
* Standardize on .g.dart * Remove unused exclusion patterns * Mark pigeons/ as dev-only in the tooling * Version bumps * Add missed files * More new import fixes
1 parent 07c367c commit c1bd41b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

script/tool/lib/src/common/package_state_utils.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ Future<bool> _isDevChange(List<String> pathComponents,
171171
// The top-level "tool" directory is for non-client-facing utility
172172
// code, such as test scripts.
173173
pathComponents.first == 'tool' ||
174+
// The top-level "pigeons" directory is the repo convention for storing
175+
// pigeon input files.
176+
pathComponents.first == 'pigeons' ||
174177
// Entry point for the 'custom-test' command, which is only for CI and
175178
// local testing.
176179
pathComponents.first == 'run_tests.sh' ||

script/tool/test/common/package_state_utils_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ void main() {
6868
'packages/a_plugin/example/android/src/androidTest/foo/bar/FooTest.java',
6969
'packages/a_plugin/example/ios/RunnerTests/Foo.m',
7070
'packages/a_plugin/example/ios/RunnerUITests/info.plist',
71+
// Pigeon input.
72+
'packages/a_plugin/pigeons/messages.dart',
7173
// Test scripts.
7274
'packages/a_plugin/run_tests.sh',
7375
// Tools.

0 commit comments

Comments
 (0)