Skip to content

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

Closed
@kevmoo

Description

@kevmoo
  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

Activity

nex3

nex3 commented on Apr 7, 2015

@nex3
Member

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

nex3

nex3 commented on Apr 7, 2015

@nex3
Member

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

nex3

nex3 commented on Apr 14, 2015

@nex3
Member

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

nex3 commented on Apr 15, 2015

@nex3
Member

Fixed by r45147.


Added Fixed label.

DartBot

DartBot commented on Jun 4, 2015

@DartBot

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @nex3@kevmoo@DartBot

      Issue actions

        Adding a dependency override to a package with a binary borks pub run · Issue #23113 · dart-lang/sdk