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

fix(docs): replace gno build with gno transpile --gobuild #1903

Merged
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
56 changes: 28 additions & 28 deletions docs/reference/go-gno-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,31 +294,31 @@ Legend:

## Tooling (`gno` binary)

| go command | gno command | comment |
|-------------------|------------------|-----------------------------------------------------------------------|
| go bug | gno bug | same behavior |
| go build | gno build | same intention, limited compatibility |
| go clean | gno clean | same intention, limited compatibility |
| go doc | gno doc | limited compatibility; see https://github.com/gnolang/gno/issues/522 |
| go env | | |
| go fix | | |
| go fmt | | gofmt (& similar tools, like gofumpt) works on gno code. |
| go generate | | |
| go get | | see `gno mod download`. |
| go help | gno $cmd --help | ie. `gno doc --help` |
| go install | | |
| go list | | |
| go mod | gno mod | |
| + go mod init | gno mod init | same behavior |
| + go mod download | gno mod download | same behavior |
| + go mod tidy | gno mod tidy | same behavior |
| + go mod why | gno mod why | same intention |
| | gno transpile | |
| go work | | |
| | gno repl | |
| go run | gno run | |
| go test | gno test | limited compatibility |
| go tool | | |
| go version | | |
| go vet | | |
| golint | gno lint | same intention |
| go command | gno command | comment |
|-------------------|---------------------------|-----------------------------------------------------------------------|
| go bug | gno bug | same behavior |
| go build | gno transpile -gobuild | same intention, limited compatibility |
| go clean | gno clean | same intention, limited compatibility |
| go doc | gno doc | limited compatibility; see https://github.com/gnolang/gno/issues/522 |
| go env | | |
| go fix | | |
| go fmt | | gofmt (& similar tools, like gofumpt) works on gno code. |
| go generate | | |
| go get | | see `gno mod download`. |
| go help | gno $cmd --help | ie. `gno doc --help` |
| go install | | |
| go list | | |
| go mod | gno mod | |
| + go mod init | gno mod init | same behavior |
| + go mod download | gno mod download | same behavior |
| + go mod tidy | gno mod tidy | same behavior |
| + go mod why | gno mod why | same intention |
| | gno transpile | |
| go work | | |
| | gno repl | |
| go run | gno run | |
| go test | gno test | limited compatibility |
| go tool | | |
| go version | | |
| go vet | | |
| golint | gno lint | same intention |
1 change: 0 additions & 1 deletion gnovm/cmd/gno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
## Commands

* `gno run` - run a Gno file
* `gno build` - build a gno package
* `gno transpile` - transpile .gno to .go
* `gno test` - test a gno package
* `gno mod` - manages dependencies
Expand Down
4 changes: 2 additions & 2 deletions gnovm/tests/challenges/unused0.gno
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

// NOTE: instead of patching the vm code, this should be handled by an
// integration of `gno build`, which uses `go build` under the hood and already
// detects unused variables.
// integration of `gno transpile --gobuild`, which uses `go build` under
// the hood and already detects unused variables.
func main() {
var x int
}
Expand Down
Loading