github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/robots/issue-creator/sources/BUILD (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 = [ 6 "flakyjob-reporter.go", 7 "triage-filer.go", 8 ], 9 visibility = ["//visibility:public"], 10 deps = [ 11 "//mungegithub/mungers/mungerutil:go_default_library", 12 "//robots/issue-creator/creator:go_default_library", 13 "//vendor/github.com/golang/glog:go_default_library", 14 "//vendor/github.com/google/go-github/github:go_default_library", 15 ], 16 ) 17 18 go_test( 19 name = "go_default_test", 20 srcs = [ 21 "flakyjob-reporter_test.go", 22 "triage-filer_test.go", 23 ], 24 library = ":go_default_library", 25 deps = [ 26 "//robots/issue-creator/creator:go_default_library", 27 "//robots/issue-creator/testowner:go_default_library", 28 "//vendor/github.com/google/go-github/github:go_default_library", 29 ], 30 ) 31 32 filegroup( 33 name = "package-srcs", 34 srcs = glob(["**"]), 35 tags = ["automanaged"], 36 visibility = ["//visibility:private"], 37 ) 38 39 filegroup( 40 name = "all-srcs", 41 srcs = [":package-srcs"], 42 tags = ["automanaged"], 43 visibility = ["//visibility:public"], 44 )