Skip to content

[gnomod.toml] Add replace #2601

@leohhhn

Description

@leohhhn

Description

When developing a p/ & and r/ in a repository not containing the examples/ folder, we currently do not have a way to use the code from p/ in r/, especially in the case of gno test. We should try to implement a feature similar to replace in Go, which will allow you to redirect a specific dependency of a realm from say gno.land/p/leon/app to ../p/leon/mypackage.

This should also include the possibility to use packages & realms in the same subdirectory as the code that the user is currently developing. For example, r/leon/app should be able to use r/leon/app/helperpackage.

cc @moul @thehowl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Need lots of help

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions