BUILD 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = [
  10. "audio_playlist_test.go",
  11. "audio_test.go",
  12. "bangumi_test.go",
  13. "credit_test.go",
  14. "dao_test.go",
  15. "drawyoo_test.go",
  16. "dynamic_test.go",
  17. "live_test.go",
  18. "topic_test.go",
  19. ],
  20. embed = [":go_default_library"],
  21. rundir = ".",
  22. tags = ["automanaged"],
  23. deps = [
  24. "//app/job/main/reply/conf:go_default_library",
  25. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  26. ],
  27. )
  28. go_library(
  29. name = "go_default_library",
  30. srcs = [
  31. "audio.go",
  32. "audio_playlist.go",
  33. "bangumi.go",
  34. "credit.go",
  35. "dao.go",
  36. "drawyoo.go",
  37. "dynamic.go",
  38. "live.go",
  39. "topic.go",
  40. ],
  41. importpath = "go-common/app/job/main/reply/dao/notice",
  42. tags = ["automanaged"],
  43. visibility = ["//visibility:public"],
  44. deps = [
  45. "//app/job/main/reply/conf:go_default_library",
  46. "//library/log:go_default_library",
  47. "//library/net/http/blademaster:go_default_library",
  48. ],
  49. )
  50. filegroup(
  51. name = "package-srcs",
  52. srcs = glob(["**"]),
  53. tags = ["automanaged"],
  54. visibility = ["//visibility:private"],
  55. )
  56. filegroup(
  57. name = "all-srcs",
  58. srcs = [":package-srcs"],
  59. tags = ["automanaged"],
  60. visibility = ["//visibility:public"],
  61. )