BUILD 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. "authority_test.go",
  11. "blacklist_test.go",
  12. "cheat_test.go",
  13. "notice_test.go",
  14. "offlineactivity_test.go",
  15. "service_test.go",
  16. "tag_test.go",
  17. "trade_test.go",
  18. "up_info_test.go",
  19. "upload_test.go",
  20. ],
  21. embed = [":go_default_library"],
  22. rundir = ".",
  23. tags = ["automanaged"],
  24. deps = [
  25. "//app/admin/main/growup/conf:go_default_library",
  26. "//app/admin/main/growup/model:go_default_library",
  27. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  28. ],
  29. )
  30. go_library(
  31. name = "go_default_library",
  32. srcs = [
  33. "activity.go",
  34. "authority.go",
  35. "auto.go",
  36. "banner.go",
  37. "blacklist.go",
  38. "budgetstatistics.go",
  39. "business.go",
  40. "cheat.go",
  41. "format.go",
  42. "notice.go",
  43. "offlineactivity.go",
  44. "service.go",
  45. "speical_award.go",
  46. "tag.go",
  47. "trade.go",
  48. "up_info.go",
  49. "upload.go",
  50. "white.go",
  51. ],
  52. importpath = "go-common/app/admin/main/growup/service",
  53. tags = ["automanaged"],
  54. visibility = ["//visibility:public"],
  55. deps = [
  56. "//app/admin/main/growup/conf:go_default_library",
  57. "//app/admin/main/growup/dao:go_default_library",
  58. "//app/admin/main/growup/dao/message:go_default_library",
  59. "//app/admin/main/growup/dao/resource:go_default_library",
  60. "//app/admin/main/growup/dao/shell:go_default_library",
  61. "//app/admin/main/growup/model:go_default_library",
  62. "//app/admin/main/growup/model/offlineactivity:go_default_library",
  63. "//app/admin/main/growup/util:go_default_library",
  64. "//library/database/sql:go_default_library",
  65. "//library/ecode:go_default_library",
  66. "//library/log:go_default_library",
  67. "//library/net/http/blademaster:go_default_library",
  68. "//library/time:go_default_library",
  69. "//library/xstr:go_default_library",
  70. "//vendor/github.com/jinzhu/gorm:go_default_library",
  71. "//vendor/github.com/pkg/errors:go_default_library",
  72. ],
  73. )
  74. filegroup(
  75. name = "package-srcs",
  76. srcs = glob(["**"]),
  77. tags = ["automanaged"],
  78. visibility = ["//visibility:private"],
  79. )
  80. filegroup(
  81. name = "all-srcs",
  82. srcs = [
  83. ":package-srcs",
  84. "//app/admin/main/growup/service/income:all-srcs",
  85. ],
  86. tags = ["automanaged"],
  87. visibility = ["//visibility:public"],
  88. )