build

package
v1.502.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 7 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 {
	ioutils.Streams
	// contains filtered or unexported fields
}

Build represents the aspect build command.

func New

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

New creates a Build command.

func (*Build) Run

func (runner *Build) Run(ctx context.Context, _ *cobra.Command, args []string) (exitErr 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