From 2dba3195a557293860dc4031de434dda2e32cf6a Mon Sep 17 00:00:00 2001 From: Chun-Heng Tai Date: Tue, 20 Dec 2022 11:00:06 -0800 Subject: [PATCH 1/2] [go_router_builder] ignore pubspec.yaml in ensure build test --- .cirrus.yml | 2 +- packages/go_router_builder/example/test/ensure_build_test.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1a1586bf0b91..85726fb18293 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -137,7 +137,7 @@ task: - ./script/tool_runner.sh test --exclude=script/configs/dart_unit_tests_exceptions.yaml pathified_unit_test_script: # Run tests with path-based dependencies to ensure that publishing - # the changes won't break tests of other packages in the respository + # the changes won't break tests of other packages in the repository # that depend on it. - ./script/tool_runner.sh make-deps-path-based --target-dependencies-with-non-breaking-updates - $PLUGIN_TOOL_COMMAND test --run-on-dirty-packages --exclude=script/configs/dart_unit_tests_exceptions.yaml diff --git a/packages/go_router_builder/example/test/ensure_build_test.dart b/packages/go_router_builder/example/test/ensure_build_test.dart index a39670eb9ce3..8386fb8d6630 100644 --- a/packages/go_router_builder/example/test/ensure_build_test.dart +++ b/packages/go_router_builder/example/test/ensure_build_test.dart @@ -10,6 +10,7 @@ void main() { 'ensure_build', () => expectBuildClean( packageRelativeDirectory: 'packages/go_router_builder/example', + gitDiffPathArguments: [':!pubspec.yaml'], ), timeout: const Timeout.factor(3), ); From 9e47015232b2ed6c31b42828c5eb810e1a27f1bd Mon Sep 17 00:00:00 2001 From: Chun-Heng Tai Date: Tue, 20 Dec 2022 11:02:06 -0800 Subject: [PATCH 2/2] bump version --- packages/go_router_builder/example/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/go_router_builder/example/pubspec.yaml b/packages/go_router_builder/example/pubspec.yaml index 4182ba39d03b..71ec4780bbde 100644 --- a/packages/go_router_builder/example/pubspec.yaml +++ b/packages/go_router_builder/example/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: dev_dependencies: build_runner: ^2.0.0 - build_verify: ^3.0.0 + build_verify: ^3.1.0 flutter_test: sdk: flutter go_router_builder: