-
Notifications
You must be signed in to change notification settings - Fork 227
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
Pub Workspace: only require paths at workspace level? #4318
Labels
type-question
A question about expected behavior or functionality
Comments
It is a bit unclear what you are trying. But perhaps you can leave the |
sigurdm
added
the
type-question
A question about expected behavior or functionality
label
Jun 27, 2024
The idea we had was: # root/pubspec.yaml
dependencies:
repo_private_dependency:
path: tools/pkg/repo_private_dependency
# root/tools/pkg/some_other_dep/pubspec.yaml
dependencies:
repo_private_dependency: That doesn't work, because |
Try # root/pubspec.yaml
dependency_overrides:
repo_private_dependency:
path: tools/pkg/repo_private_dependency
# root/tools/pkg/some_other_dep/pubspec.yaml
dependencies:
repo_private_dependency: |
If I check out the linked PR; move |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In flutter/engine/pull/53539, you see in sub-workspace yaml files we have to specify the paths: flutter/engine/tools/engine_tool/pubspec.yaml:
To make the sub-workspace yaml files more concise (and easier to maintain), can we leave the
path:
out of the sub files?The text was updated successfully, but these errors were encountered: