Help us shape the future of Go! Take the 2026 Go Developer Survey

build

package
v1.202544.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	// contains filtered or unexported fields
}

Build represents the aspect build command.

func New

func New(
	streams ioutils.Streams,
	hstreams ioutils.Streams,
	bzl bazel.Bazel,
) *Build

New creates a Build command.

func (*Build) Run

func (runner *Build) Run(ctx context.Context, cmd *cobra.Command, args []string) error

Run runs the aspect build command, calling `bazel build` with a local Build Event Protocol backend used by Aspect plugins to subscribe to build events.

Jump to

Keyboard shortcuts

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