Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBazelRCFile ¶
func EnsureBazelRCFile(ctx context.Context, bazelOpts BazelOptions) error
EnsureBazelRCFile makes sure the user .bazelrc file exists and matches the provided configuration. This makes it easy for all subsequent calls to Bazel use the right command line args, even if Bazel is not invoked directly from task_driver (e.g. from a Makefile).
Types ¶
type Bazel ¶
type Bazel struct {
// contains filtered or unexported fields
}
Bazel provides a Task Driver API for working with Bazel (via the Bazelisk launcher, see https://github.com/bazelbuild/bazelisk).
func New ¶
func New(ctx context.Context, workspace, rbeCredentialFile string, opts BazelOptions) (*Bazel, error)
New returns a new Bazel instance.
type BazelOptions ¶
Click to show internal directories.
Click to hide internal directories.