Skip to content
Prev Previous commit
Next Next commit
Move to example build file function
  • Loading branch information
reidbaker committed May 1, 2023
commit 1d2cb9875fadd139ca4034a526fb84a5b1c42f91
3 changes: 1 addition & 2 deletions script/tool/lib/src/common/package_state_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ Future<bool> _isDevChange(List<String> pathComponents,
pathComponents.contains('lint-baseline.xml') ||
// Example build files are very unlikely to be interesting to clients.
_isExampleBuildFile(pathComponents) ||
// Build flags are very unlikely to be interesting to clients.
pathComponents.contains('.pluginToolsConfig.yaml') ||
// Test-only gradle depenedencies don't affect clients.
await _isGradleTestDependencyChange(pathComponents,
git: git, repoPath: repoPath);
Expand All @@ -197,6 +195,7 @@ bool _isExampleBuildFile(List<String> pathComponents) {
pathComponents.contains('build.gradle') ||
pathComponents.contains('Runner.xcodeproj') ||
pathComponents.contains('CMakeLists.txt') ||
pathComponents.contains('.pluginToolsConfig.yaml') ||
pathComponents.contains('pubspec.yaml');
}

Expand Down