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

chore: remove gnodev leftovers #1519

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gnovm/cmd/gno/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (c *docCfg) RegisterFlags(fs *flag.FlagSet) {
&c.rootDir,
"root-dir",
"",
"clone location of github.com/gnolang/gno (gnodev tries to guess it)",
"clone location of github.com/gnolang/gno (gno binary tries to guess it)",
)
}

Expand Down
2 changes: 1 addition & 1 deletion gnovm/cmd/gno/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func newGnocliCmd(io commands.IO) *commands.Command {
// generate
// "vm" -- starts an in-memory chain that can be interacted with?
// bug -- start a bug report
// version -- show gnodev, golang versions
// version -- show gno, golang versions
)

return cmd
Expand Down
2 changes: 1 addition & 1 deletion gnovm/cmd/gno/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/gnolang/gno/tm2/pkg/commands"
)

func TestMain_Gnodev(t *testing.T) {
func TestMain_Gno(t *testing.T) {
tc := []testMainCase{
{args: []string{""}, errShouldBe: "flag: help requested"},
}
Expand Down
2 changes: 1 addition & 1 deletion gnovm/cmd/gno/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (c *runCfg) RegisterFlags(fs *flag.FlagSet) {
&c.rootDir,
"root-dir",
"",
"clone location of github.com/gnolang/gno (gnodev tries to guess it)",
"clone location of github.com/gnolang/gno (gno binary tries to guess it)",
)

fs.StringVar(
Expand Down
2 changes: 1 addition & 1 deletion gnovm/pkg/doc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (d *documentable) output(pp *pkgPrinter) (err error) {
var fpAbs = filepath.Abs

// ResolveDocumentable returns a Documentable from the given arguments.
// Refer to the documentation of gnodev doc for the formats accepted (in general
// Refer to the documentation of gno doc for the formats accepted (in general
// the same as the go doc command).
// An error may be returned even if documentation was resolved in case some
// packages in dirs could not be parsed correctly.
Expand Down
2 changes: 1 addition & 1 deletion gnovm/pkg/doc/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func (pkg *pkgPrinter) packageClause() {
// If we did a file system scan, we knew the import path when we found the directory.
// But if we started with a directory name, we never knew the import path.
// Either way, we don't know it now, and it's cheap to (re)compute it.
/* TODO: add when supporting gnodev doc on local directories
/* TODO: add when supporting gno doc on local directories
if usingModules {
for _, root := range codeRoots() {
if pkg.build.Dir == root.dir {
Expand Down
Loading