BUILD 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. "contribute_test.go",
  11. "service_test.go",
  12. "space_test.go",
  13. ],
  14. embed = [":go_default_library"],
  15. rundir = ".",
  16. tags = ["automanaged"],
  17. deps = [
  18. "//app/interface/main/app-interface/conf:go_default_library",
  19. "//app/interface/main/app-interface/model:go_default_library",
  20. "//app/interface/main/app-interface/model/space:go_default_library",
  21. "//app/service/main/account/model:go_default_library",
  22. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  23. ],
  24. )
  25. go_library(
  26. name = "go_default_library",
  27. srcs = [
  28. "contribute.go",
  29. "service.go",
  30. "space.go",
  31. ],
  32. importpath = "go-common/app/interface/main/app-interface/service/space",
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:public"],
  35. deps = [
  36. "//app/interface/main/app-interface/conf:go_default_library",
  37. "//app/interface/main/app-interface/dao/account:go_default_library",
  38. "//app/interface/main/app-interface/dao/archive:go_default_library",
  39. "//app/interface/main/app-interface/dao/article:go_default_library",
  40. "//app/interface/main/app-interface/dao/audio:go_default_library",
  41. "//app/interface/main/app-interface/dao/bangumi:go_default_library",
  42. "//app/interface/main/app-interface/dao/bplus:go_default_library",
  43. "//app/interface/main/app-interface/dao/coin:go_default_library",
  44. "//app/interface/main/app-interface/dao/community:go_default_library",
  45. "//app/interface/main/app-interface/dao/elec:go_default_library",
  46. "//app/interface/main/app-interface/dao/favorite:go_default_library",
  47. "//app/interface/main/app-interface/dao/live:go_default_library",
  48. "//app/interface/main/app-interface/dao/member:go_default_library",
  49. "//app/interface/main/app-interface/dao/pay:go_default_library",
  50. "//app/interface/main/app-interface/dao/relation:go_default_library",
  51. "//app/interface/main/app-interface/dao/search:go_default_library",
  52. "//app/interface/main/app-interface/dao/shop:go_default_library",
  53. "//app/interface/main/app-interface/dao/space:go_default_library",
  54. "//app/interface/main/app-interface/dao/tag:go_default_library",
  55. "//app/interface/main/app-interface/dao/thumbup:go_default_library",
  56. "//app/interface/main/app-interface/model:go_default_library",
  57. "//app/interface/main/app-interface/model/audio:go_default_library",
  58. "//app/interface/main/app-interface/model/bangumi:go_default_library",
  59. "//app/interface/main/app-interface/model/bplus:go_default_library",
  60. "//app/interface/main/app-interface/model/community:go_default_library",
  61. "//app/interface/main/app-interface/model/favorite:go_default_library",
  62. "//app/interface/main/app-interface/model/shop:go_default_library",
  63. "//app/interface/main/app-interface/model/space:go_default_library",
  64. "//app/interface/openplatform/article/model:go_default_library",
  65. "//app/service/main/account/model:go_default_library",
  66. "//app/service/main/archive/api:go_default_library",
  67. "//app/service/main/thumbup/model:go_default_library",
  68. "//library/ecode:go_default_library",
  69. "//library/log:go_default_library",
  70. "//library/sync/errgroup:go_default_library",
  71. "//library/time:go_default_library",
  72. "//vendor/github.com/pkg/errors:go_default_library",
  73. ],
  74. )
  75. filegroup(
  76. name = "package-srcs",
  77. srcs = glob(["**"]),
  78. tags = ["automanaged"],
  79. visibility = ["//visibility:private"],
  80. )
  81. filegroup(
  82. name = "all-srcs",
  83. srcs = [":package-srcs"],
  84. tags = ["automanaged"],
  85. visibility = ["//visibility:public"],
  86. )