bazel

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package bazel provides functionality for interacting with Bazel build system, including query execution and result parsing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfiguredQuery

func ConfiguredQuery(cwd string, query string, opts QueryConfig) (proto.QueryResult, error)

Execute given bazel query inside directory. Returns nil if query fails

func GetNamedAttribute

func GetNamedAttribute(target *proto.Target, name string) *proto.Attribute

Select attribute that defined with given name. Returns nil if no such attribute can be found

func Query

func Query(cwd string, query string) (proto.QueryResult, error)

Types

type QueryConfig

type QueryConfig struct {
	KeepGoing bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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