github.com/jenkins-x/test-infra@v0.0.7/prow/config/org/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = ["org.go"], 6 importpath = "k8s.io/test-infra/prow/config/org", 7 visibility = ["//visibility:public"], 8 ) 9 10 filegroup( 11 name = "package-srcs", 12 srcs = glob(["**"]), 13 tags = ["automanaged"], 14 visibility = ["//visibility:private"], 15 ) 16 17 filegroup( 18 name = "all-srcs", 19 srcs = [":package-srcs"], 20 tags = ["automanaged"], 21 visibility = ["//visibility:public"], 22 ) 23 24 go_test( 25 name = "go_default_test", 26 srcs = ["org_test.go"], 27 embed = [":go_default_library"], 28 )