...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "bazel",
5 srcs = [
6 "bazel.go",
7 "config.go",
8 "info.go",
9 "labels.go",
10 "options.go",
11 "path.go",
12 "query.go",
13 "runfiles.go",
14 ],
15 importpath = "edge-infra.dev/pkg/lib/build/bazel",
16 visibility = ["//visibility:public"],
17 deps = [
18 "//pkg/lib/cli/rags",
19 "@io_bazel_rules_go//go/runfiles:go_default_library",
20 "@org_golang_x_sys//unix",
21 ],
22)
23
24go_test(
25 name = "bazel_test",
26 srcs = [
27 "config_test.go",
28 "labels_test.go",
29 "path_test.go",
30 "query_test.go",
31 ],
32 embed = [":bazel"],
33 deps = ["@com_github_stretchr_testify//assert"],
34)
View as plain text