BUILD 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. "credit_log_test.go",
  11. "dao_test.go",
  12. "scoresection_test.go",
  13. "sign_up_test.go",
  14. "task_info_test.go",
  15. "up_base_info_test.go",
  16. "up_play_info_test.go",
  17. "up_rank_test.go",
  18. "up_scores_history_test.go",
  19. "up_stats_history_test.go",
  20. ],
  21. embed = [":go_default_library"],
  22. rundir = ".",
  23. tags = ["automanaged"],
  24. deps = [
  25. "//app/admin/main/up/conf:go_default_library",
  26. "//app/admin/main/up/model/signmodel:go_default_library",
  27. "//library/net/http/blademaster:go_default_library",
  28. "//vendor/github.com/jinzhu/gorm:go_default_library",
  29. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  30. "//vendor/gopkg.in/h2non/gock.v1:go_default_library",
  31. ],
  32. )
  33. go_library(
  34. name = "go_default_library",
  35. srcs = [
  36. "credit_log.go",
  37. "dao.go",
  38. "scoresection.go",
  39. "sign_up.go",
  40. "task_info.go",
  41. "up_base_info.go",
  42. "up_play_info.go",
  43. "up_rank.go",
  44. "up_scores_history.go",
  45. "up_stats_history.go",
  46. ],
  47. importpath = "go-common/app/admin/main/up/dao/upcrm",
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:public"],
  50. deps = [
  51. "//app/admin/main/up/conf:go_default_library",
  52. "//app/admin/main/up/model/signmodel:go_default_library",
  53. "//app/admin/main/up/model/upcrmmodel:go_default_library",
  54. "//library/ecode:go_default_library",
  55. "//library/log:go_default_library",
  56. "//library/net/http/blademaster:go_default_library",
  57. "//library/time:go_default_library",
  58. "//vendor/github.com/jinzhu/gorm:go_default_library",
  59. ],
  60. )
  61. filegroup(
  62. name = "package-srcs",
  63. srcs = glob(["**"]),
  64. tags = ["automanaged"],
  65. visibility = ["//visibility:private"],
  66. )
  67. filegroup(
  68. name = "all-srcs",
  69. srcs = [":package-srcs"],
  70. tags = ["automanaged"],
  71. visibility = ["//visibility:public"],
  72. )