Skip to content

Adding a dependency override to a package with a binary borks pub run #23113

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

Closed
kevmoo opened this issue Apr 7, 2015 · 5 comments
Closed

Adding a dependency override to a package with a binary borks pub run #23113

kevmoo opened this issue Apr 7, 2015 · 5 comments
Assignees

Comments

@kevmoo
Copy link
Member

kevmoo commented Apr 7, 2015

  1. have a package dependency on a package with a binary (test)
  2. See that 'pub run test:test' works
  3. Add a dependency_override to test
  4. pub install/upgrade

Expected:
run 'test' from the override dir

Actual: 'test' still runs from the created cache

work-around: delete '.pub' from the project directory

@nex3
Copy link
Member

nex3 commented Apr 7, 2015

The title says "dev dependency" but step 4 says "dependency_override". Which is it?

@nex3
Copy link
Member

nex3 commented Apr 7, 2015

Changed the title to: "Adding a dependency override to a package with a binary borks pub run".

@nex3
Copy link
Member

nex3 commented Apr 14, 2015

I don't think this is actually specific to dependency overrides; I can reproduce it with a normal dependency, as long as the second dependency is a path dependency.


Set owner to @nex3.
Added Started label.

@nex3
Copy link
Member

nex3 commented Apr 15, 2015

Fixed by r45147.


Added Fixed label.

@DartBot
Copy link

DartBot commented Jun 4, 2015

This issue has been moved to dart-lang/pub#8.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants