Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use workspace resolution for example #727

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion example_usage/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: source_gen_example_usage
publish_to: none
resolution: workspace
# TODO(https://github.com/dart-lang/build/issues/3721) - build_runner broken by
# workspace resolution.
# resolution: workspace

environment:
sdk: ^3.6.0-270.0.dev
Expand All @@ -14,3 +16,9 @@ dev_dependencies:
build_verify: ^3.0.0
dart_flutter_team_lints: ^3.1.0
test: ^1.5.1

# TODO(https://github.com/dart-lang/build/issues/3721) - build_runner broken by
# workspace resolution.
dependency_overrides:
source_gen:
path: ../source_gen
4 changes: 3 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ environment:
workspace:
- source_gen
- example
- example_usage
# TODO(https://github.com/dart-lang/build/issues/3721) - build_runner broken
# by workspace resolution.
# - example_usage
- _test_annotations

dev_dependencies:
Expand Down