BUILD 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. "archive_test.go",
  11. "av_charge_statis_test.go",
  12. "av_charge_test.go",
  13. "av_income_stat_test.go",
  14. "av_income_test.go",
  15. "bgm_income_stat_test.go",
  16. "bgm_income_test.go",
  17. "bgm_test.go",
  18. "blacklist_test.go",
  19. "business_order_test.go",
  20. "charge_ratio_test.go",
  21. "column_charge_test.go",
  22. "column_income_stat_test.go",
  23. "column_income_test.go",
  24. "dao_test.go",
  25. "income_date_statis_test.go",
  26. "lottery_test.go",
  27. "up_account_test.go",
  28. "up_charge_test.go",
  29. "up_income_date_test.go",
  30. "up_income_stat_test.go",
  31. "up_income_test.go",
  32. "up_info_video_test.go",
  33. ],
  34. embed = [":go_default_library"],
  35. rundir = ".",
  36. tags = ["automanaged"],
  37. deps = [
  38. "//app/job/main/growup/conf:go_default_library",
  39. "//app/job/main/growup/model/income:go_default_library",
  40. "//library/time:go_default_library",
  41. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  42. ],
  43. )
  44. go_library(
  45. name = "go_default_library",
  46. srcs = [
  47. "archive.go",
  48. "av_charge.go",
  49. "av_charge_statis.go",
  50. "av_income.go",
  51. "av_income_stat.go",
  52. "bgm.go",
  53. "bgm_income.go",
  54. "bgm_income_stat.go",
  55. "blacklist.go",
  56. "business_order.go",
  57. "charge_ratio.go",
  58. "column_charge.go",
  59. "column_income.go",
  60. "column_income_stat.go",
  61. "dao.go",
  62. "income_date_statis.go",
  63. "lottery.go",
  64. "up_account.go",
  65. "up_charge.go",
  66. "up_income.go",
  67. "up_income_date.go",
  68. "up_income_stat.go",
  69. "up_info_video.go",
  70. ],
  71. importpath = "go-common/app/job/main/growup/dao/income",
  72. tags = ["automanaged"],
  73. visibility = ["//visibility:public"],
  74. deps = [
  75. "//app/job/main/growup/conf:go_default_library",
  76. "//app/job/main/growup/model/income:go_default_library",
  77. "//library/database/sql:go_default_library",
  78. "//library/log:go_default_library",
  79. "//library/time:go_default_library",
  80. ],
  81. )
  82. filegroup(
  83. name = "package-srcs",
  84. srcs = glob(["**"]),
  85. tags = ["automanaged"],
  86. visibility = ["//visibility:private"],
  87. )
  88. filegroup(
  89. name = "all-srcs",
  90. srcs = [":package-srcs"],
  91. tags = ["automanaged"],
  92. visibility = ["//visibility:public"],
  93. )