mirror of
https://github.com/flutter/packages.git
synced 2025-06-06 03:19:27 +08:00
Move incremental_build.sh to run-on-changed-packages (#3846)
Switch incremental_build.sh from using the older check_changed_packages implemented in bash to the newer (tested/testable) Dart implementation via --run-onchanged-packages. Also clarifies in help that the flag runs on all packages when nothing has changed.
This commit is contained in:
@ -203,6 +203,7 @@ abstract class PluginCommand extends Command<void> {
|
||||
argParser.addFlag(_runOnChangedPackagesArg,
|
||||
help: 'Run the command on changed packages/plugins.\n'
|
||||
'If the $_pluginsArg is specified, this flag is ignored.\n'
|
||||
'If no plugins have changed, the command runs on all plugins.\n'
|
||||
'The packages excluded with $_excludeArg is also excluded even if changed.\n'
|
||||
'See $_kBaseSha if a custom base is needed to determine the diff.');
|
||||
argParser.addOption(_kBaseSha,
|
||||
|
Reference in New Issue
Block a user