Skip to content

Local package reference w/o duplicating MOPS dependencies #289

@Gekctek

Description

@Gekctek

One problem that i run across often when developing is if I update my mops.toml file to have a dependency in my local system like

liminal = "../../src"

Then i run into the issue of needing to essentially copy and paste the referenced mops.toml file dependencies into mine. Like if liminals was

a = "0.0.1"
b = "0.0.2"

Then my mops.toml file would end up looking like

liminal = "../../src"
a = "0.0.1"
b = "0.0.2"

otherwise i get errors that i am missing those packages

Is there a way around this? or can this be changed to have MOPS use the referenced package's mops.toml file instead of having to duplicate it?

My main case is i want to have my example projects reference the package locally vs using a published number for others to have the latest and for me to test without having to publish

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions