mirror of
https://github.com/flutter/packages.git
synced 2025-06-06 11:29:17 +08:00
[various] Speed up build-examples (#3849)
https://github.com/flutter/flutter/issues/125707 - Create pluginTools config for every example that shrunk material icons and had an android config Likely some build caching but before/after If someone knows how to clean the cache or force a rebuild I will give more accurate after numbers. Command `time dart run ./script/tool/bin/flutter_plugin_tools.dart build-examples --apk` Secondary validation from @stuartmorgan who discovered this is between a 10% and 25% speed increase. Existing tests add confidence this is non-breaking. New tests not required because these are optional flags. Validation this does not change is low consequence. Test update to exclude these config files from changelog requirements.
This commit is contained in:
@ -874,6 +874,7 @@ tool/plugin/lib/plugin.dart
|
||||
processRunner.mockProcessesForExecutable['git-diff'] =
|
||||
<FakeProcessInfo>[
|
||||
FakeProcessInfo(MockProcess(stdout: '''
|
||||
packages/plugin/example/android/.pluginToolsConfig.yaml
|
||||
packages/plugin/example/android/lint-baseline.xml
|
||||
packages/plugin/example/android/src/androidTest/foo/bar/FooTest.java
|
||||
packages/plugin/example/ios/RunnerTests/Foo.m
|
||||
|
Reference in New Issue
Block a user