github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/mungegithub/BUILD (about) 1 package(default_visibility = ["//visibility:public"]) 2 3 load( 4 "@io_bazel_rules_go//go:def.bzl", 5 "go_binary", 6 "go_library", 7 ) 8 9 go_binary( 10 name = "mungegithub", 11 library = ":go_default_library", 12 ) 13 14 go_library( 15 name = "go_default_library", 16 srcs = ["mungegithub.go"], 17 deps = [ 18 "//mungegithub/features:go_default_library", 19 "//mungegithub/github:go_default_library", 20 "//mungegithub/mungeopts:go_default_library", 21 "//mungegithub/mungers:go_default_library", 22 "//mungegithub/options:go_default_library", 23 "//mungegithub/reports:go_default_library", 24 "//vendor/github.com/golang/glog:go_default_library", 25 "//vendor/github.com/spf13/cobra:go_default_library", 26 "//vendor/k8s.io/kubernetes/pkg/util/flag:go_default_library", 27 "//vendor/k8s.io/kubernetes/pkg/util/sets:go_default_library", 28 ], 29 ) 30 31 filegroup( 32 name = "package-srcs", 33 srcs = glob(["**"]), 34 tags = ["automanaged"], 35 visibility = ["//visibility:private"], 36 ) 37 38 filegroup( 39 name = "all-srcs", 40 srcs = [ 41 ":package-srcs", 42 "//mungegithub/example-one-off:all-srcs", 43 "//mungegithub/features:all-srcs", 44 "//mungegithub/github:all-srcs", 45 "//mungegithub/mungeopts:all-srcs", 46 "//mungegithub/mungers:all-srcs", 47 "//mungegithub/options:all-srcs", 48 "//mungegithub/reports:all-srcs", 49 "//mungegithub/sharedmux:all-srcs", 50 ], 51 tags = ["automanaged"], 52 ) 53 54 filegroup( 55 name = "configs", 56 srcs = glob(["*.txt"]), 57 visibility = ["//visibility:public"], 58 ) 59 60 filegroup( 61 name = "configmaps", 62 srcs = glob(["**/configmap.yaml"]), 63 visibility = ["//visibility:public"], 64 )