-
Notifications
You must be signed in to change notification settings - Fork 381
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
gno.mod file support #462
Labels
🌱 feature
New update to Gno
Milestone
Comments
Merged
Reopened this issue to track the progress. |
This was referenced Feb 21, 2023
creating a new issue to discuss gno.mod; the scope of this one is mostly complete by now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
By default,
gnodev
only supports importing contracts that are located in$gnoRepo/examples/...
.The goal of
gno.mod
is to support additional import locations.The first need is to support the equivalent of the
replace ../
directive fromgo.mod
.Then, people should be able to bootstrap repos depending on their own contracts and official ones.
The second need would be to support the equivalent of
go mod download
and dependency caching.Status
gnodev mod download
: Fetch required modules from chain.require
require
andreplace
replace
modules (if replaced by Directory)gno mod init
~/.gno
.GNOPATH
?Related PRs
#344, #479, #524, #533, #553, #602, #652
The text was updated successfully, but these errors were encountered: