BUILD 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 = ["regular_test.go"],
  10. embed = [":go_default_library"],
  11. tags = ["automanaged"],
  12. deps = ["//vendor/github.com/smartystreets/goconvey/convey:go_default_library"],
  13. )
  14. go_library(
  15. name = "go_default_library",
  16. srcs = [
  17. "app_info.go",
  18. "card.go",
  19. "coupon.go",
  20. "enum.go",
  21. "geetest.go",
  22. "http.go",
  23. "invite.go",
  24. "model.go",
  25. "notice.go",
  26. "pendant.go",
  27. "realname.go",
  28. "regular.go",
  29. "relation.go",
  30. "reply.go",
  31. "usersuit.go",
  32. "vip.go",
  33. "vip_outer.go",
  34. "vip_welfare.go",
  35. "web_info.go",
  36. ],
  37. importpath = "go-common/app/interface/main/account/model",
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:public"],
  40. deps = [
  41. "//app/service/main/account/api:go_default_library",
  42. "//app/service/main/account/model:go_default_library",
  43. "//app/service/main/coupon/model:go_default_library",
  44. "//app/service/main/relation/model:go_default_library",
  45. "//app/service/main/usersuit/model:go_default_library",
  46. "//app/service/main/vip/api:go_default_library",
  47. "//app/service/main/vip/model:go_default_library",
  48. "//library/net/http/blademaster:go_default_library",
  49. "//library/time:go_default_library",
  50. ],
  51. )
  52. filegroup(
  53. name = "package-srcs",
  54. srcs = glob(["**"]),
  55. tags = ["automanaged"],
  56. visibility = ["//visibility:private"],
  57. )
  58. filegroup(
  59. name = "all-srcs",
  60. srcs = [":package-srcs"],
  61. tags = ["automanaged"],
  62. visibility = ["//visibility:public"],
  63. )