load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "owners", srcs = [ "create.go", "list.go", "owners.go", "update.go", "verify.go", ], importpath = "edge-infra.dev/pkg/tools/hack/cmd/owners", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/devinfra/repo/owners", "//pkg/f8n/devinfra/repo/owners/policybot/policy", "//pkg/lib/text/drawing", "//pkg/tools/hack", "@com_github_peterbourgon_ff_v3//:ff", "@com_github_peterbourgon_ff_v3//ffcli", "@in_gopkg_yaml_v2//:yaml_v2", ], ) go_test( name = "owners_test", srcs = ["verify_test.go"], data = glob(["testdata/**"]), embed = [":owners"], )