package
0.25.3
Repository: https://github.com/bazelbuild/bazel-watcher.git
Documentation: pkg.go.dev

# README

Bazel interaction library

Copyright 2016 The Bazel Authors. All right reserved.

This library provides a Go API for interfacing with Bazel.

Sample usage:

Querying for all targets in the repo.

query := "//..."
b := bazel.New()
res, err := b.Query(query)
if err != nil {
  fmt.Printf("Error running Bazel %s\n", err)
}
for _, line := range res {
  fmt.Printf("Result: %s", line)
}

See the godoc for bazel.Query for more information.

Building a target in the repo.

target := "//path/to/your:target"
b := bazel.New()
err := b.Build(target)
if err != nil {
  fmt.Printf("Error running Bazel %s\n", err)
}

# Packages

No description provided by the author

# Functions

No description provided by the author

# Interfaces

No description provided by the author