builder

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2026 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildOpts

type BuildOpts struct {
	// Binary is the gno binary to build. Empty defaults to "gnoland".
	// Other accepted value: "gpao".
	Binary string
	GOOS   string // target OS. Empty = runtime.GOOS.
	GOARCH string // target arch. Empty = runtime.GOARCH.
	OutDir string // output directory for the binary. Caller owns cleanup.
}

BuildOpts configures a gno binary build.

type LocalBuilder

type LocalBuilder struct{}

LocalBuilder builds gnoland from the local gno checkout.

func NewLocalBuilder

func NewLocalBuilder() *LocalBuilder

NewLocalBuilder creates a builder that builds from the local gno checkout.

func (*LocalBuilder) Build

func (b *LocalBuilder) Build(ctx context.Context, opts BuildOpts) (_ string, retErr error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL