blob: 11c8ca45209a8a38b6fb0cb57f87b2e48a84abbf [file] [edit]
package cockroachdb
import (
"go.skia.org/infra/bazel/go/bazel"
)
var runfilePath = ""
// Find returns the path to the `cockroach` binary downloaded by Bazel.
//
// Calling this function from any Go package will automatically establish a Bazel dependency on the
// corresponding external Bazel repository.
func Find() (string, error) {
return bazel.FindExecutable("cockroach", runfilePath)
}