Skip to content

Invocations of Dart tooling should omit --packages=<specific URL> where possible #170465

Closed as not planned
@matanlurey

Description

@matanlurey

See https://github.com/search?q=repo%3Aflutter%2Fflutter%20%2F--packages%2F&type=code.

In a workspace, you can no longer map the project directory $P to $P/.dart_tool/package_config.json, as it's possible the actual package configuration is in a parent directory. We should have Dart tooling organically discover what the right package config is, unless it is a forwarding tool and --packages is passed explicitly by the caller.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listteam-toolOwned by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions