mirror of
https://github.com/flutter/packages.git
synced 2025-06-19 13:38:53 +08:00
[path_provider] Restore 2.8 compatibility on Android and iOS (#6039)
Adds a new repo tooling command that removes dev_dependencies, which aren't needed to consume a package, only for development. Also adds a --lib-only flag to analyze to analyze only the client-facing code. This is intended for use in the legacy analyze CI steps, primarily to solve the problem that currently plugins that use Pigeon can't support a version of Flutter older than the version supported by Pigeon, because otherwise the legacy analysis CI steps fail. Adds this new command to the legacy analysis CI step, and restores the recently-removed 2.8/2.10 compatibility to path_provider.
This commit is contained in:
@ -28,6 +28,7 @@ import 'publish_check_command.dart';
|
||||
import 'publish_plugin_command.dart';
|
||||
import 'pubspec_check_command.dart';
|
||||
import 'readme_check_command.dart';
|
||||
import 'remove_dev_dependencies.dart';
|
||||
import 'test_command.dart';
|
||||
import 'update_excerpts_command.dart';
|
||||
import 'update_release_info_command.dart';
|
||||
@ -71,6 +72,7 @@ void main(List<String> args) {
|
||||
..addCommand(PublishPluginCommand(packagesDir))
|
||||
..addCommand(PubspecCheckCommand(packagesDir))
|
||||
..addCommand(ReadmeCheckCommand(packagesDir))
|
||||
..addCommand(RemoveDevDependenciesCommand(packagesDir))
|
||||
..addCommand(TestCommand(packagesDir))
|
||||
..addCommand(UpdateExcerptsCommand(packagesDir))
|
||||
..addCommand(UpdateReleaseInfoCommand(packagesDir))
|
||||
|
Reference in New Issue
Block a user