load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "bazel", srcs = [ "bazel.go", "config.go", "info.go", "labels.go", "options.go", "path.go", "query.go", "runfiles.go", ], importpath = "edge-infra.dev/pkg/lib/build/bazel", visibility = ["//visibility:public"], deps = [ "//pkg/lib/cli/rags", "@io_bazel_rules_go//go/runfiles:go_default_library", "@org_golang_x_sys//unix", ], ) go_test( name = "bazel_test", srcs = [ "config_test.go", "labels_test.go", "path_test.go", "query_test.go", ], embed = [":bazel"], deps = ["@com_github_stretchr_testify//assert"], )