BUILD 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. "blocked_test.go",
  11. "case_test.go",
  12. "extra_func_test.go",
  13. "jury_test.go",
  14. "reply_test.go",
  15. "service_test.go",
  16. ],
  17. embed = [":go_default_library"],
  18. rundir = ".",
  19. tags = ["automanaged"],
  20. deps = [
  21. "//app/job/main/credit/conf:go_default_library",
  22. "//app/job/main/credit/model:go_default_library",
  23. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  24. ],
  25. )
  26. go_library(
  27. name = "go_default_library",
  28. srcs = [
  29. "blocked.go",
  30. "case.go",
  31. "credit.go",
  32. "extra_func.go",
  33. "jury.go",
  34. "kpi.go",
  35. "reply.go",
  36. "service.go",
  37. ],
  38. importpath = "go-common/app/job/main/credit/service",
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. deps = [
  42. "//app/job/main/credit/conf:go_default_library",
  43. "//app/job/main/credit/dao:go_default_library",
  44. "//app/job/main/credit/model:go_default_library",
  45. "//app/service/main/archive/api/gorpc:go_default_library",
  46. "//app/service/main/archive/model/archive:go_default_library",
  47. "//app/service/main/member/api/gorpc:go_default_library",
  48. "//app/service/main/member/model/block:go_default_library",
  49. "//library/log:go_default_library",
  50. "//library/queue/databus:go_default_library",
  51. "//library/time:go_default_library",
  52. "//library/xstr:go_default_library",
  53. ],
  54. )
  55. filegroup(
  56. name = "package-srcs",
  57. srcs = glob(["**"]),
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:private"],
  60. )
  61. filegroup(
  62. name = "all-srcs",
  63. srcs = [":package-srcs"],
  64. tags = ["automanaged"],
  65. visibility = ["//visibility:public"],
  66. )