Skip to content
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

feat: support gno.mod #479

Merged
merged 32 commits into from
Feb 15, 2023
Merged

feat: support gno.mod #479

merged 32 commits into from
Feb 15, 2023

Conversation

harry-hov
Copy link
Contributor

@harry-hov harry-hov commented Jan 25, 2023

Support gno.mod

Description

TODO:

How has this been tested?

TODO:

What's left

  • gnodev mod download: Fetch required modules from chain.
  • support require
  • Create go.mod from gno.mod
  • Create go.mod for fetched modules
  • Lookup for fetched modules
  • precompile fetched modules
  • Add tests (and example)

Planned for future PRs

  • make remote dynamic
  • support replace
  • Fetch indirect dependencies (fetched modules)
  • Fill dependencies in go.mod (fetched modules)
  • Support gno mod init
  • utilize ~/.gno

Fixes #462
Related with #344

cmd/gnodev/mod.go Outdated Show resolved Hide resolved
cmd/gnodev/mod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
cmd/gnodev/mod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
cmd/gnodev/mod.go Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
pkgs/gnomod/gnomod.go Outdated Show resolved Hide resolved
cmd/gnodev/mod.go Show resolved Hide resolved
@harry-hov harry-hov marked this pull request as ready for review February 12, 2023 19:26
@harry-hov harry-hov requested a review from a team as a code owner February 12, 2023 19:26
@harry-hov harry-hov requested a review from moul February 13, 2023 07:32
Accidently added gno.mod in p/demo/acl.
Removed it.
cmd/gnodev/util.go Outdated Show resolved Hide resolved
@moul moul merged commit 25595eb into gnolang:master Feb 15, 2023
This was referenced Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

gno.mod file support
2 participants