BUILD 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. "apply_test.go",
  11. "grpc_snap_test.go",
  12. "grpc_test.go",
  13. "label_test.go",
  14. "mail_test.go",
  15. "order_admin_test.go",
  16. "order_test.go",
  17. "rank_test.go",
  18. "report_test.go",
  19. "scene_test.go",
  20. "script_test.go",
  21. "service_test.go",
  22. "user_test.go",
  23. ],
  24. embed = [":go_default_library"],
  25. rundir = ".",
  26. tags = ["automanaged"],
  27. deps = [
  28. "//app/admin/ep/melloi/conf:go_default_library",
  29. "//app/admin/ep/melloi/model:go_default_library",
  30. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  31. ],
  32. )
  33. go_library(
  34. name = "go_default_library",
  35. srcs = [
  36. "apply.go",
  37. "bfs.go",
  38. "clientmoni.go",
  39. "cluster.go",
  40. "comment.go",
  41. "dapper.go",
  42. "file.go",
  43. "grpc.go",
  44. "grpc_snap.go",
  45. "job.go",
  46. "label.go",
  47. "mail.go",
  48. "order.go",
  49. "order_admin.go",
  50. "order_report.go",
  51. "ptest.go",
  52. "rank.go",
  53. "report.go",
  54. "scene.go",
  55. "script.go",
  56. "script_snap.go",
  57. "service.go",
  58. "tools.go",
  59. "tree.go",
  60. "user.go",
  61. "wechat.go",
  62. ],
  63. importpath = "go-common/app/admin/ep/melloi/service",
  64. tags = ["automanaged"],
  65. visibility = ["//visibility:public"],
  66. deps = [
  67. "//app/admin/ep/melloi/conf:go_default_library",
  68. "//app/admin/ep/melloi/dao:go_default_library",
  69. "//app/admin/ep/melloi/model:go_default_library",
  70. "//app/admin/ep/melloi/service/proto:go_default_library",
  71. "//library/ecode:go_default_library",
  72. "//library/log:go_default_library",
  73. "//library/net/http/blademaster:go_default_library",
  74. "//vendor/github.com/jinzhu/gorm:go_default_library",
  75. "//vendor/github.com/pkg/errors:go_default_library",
  76. "//vendor/github.com/robfig/cron:go_default_library",
  77. "//vendor/gopkg.in/gomail.v2:go_default_library",
  78. ],
  79. )
  80. filegroup(
  81. name = "package-srcs",
  82. srcs = glob(["**"]),
  83. tags = ["automanaged"],
  84. visibility = ["//visibility:private"],
  85. )
  86. filegroup(
  87. name = "all-srcs",
  88. srcs = [
  89. ":package-srcs",
  90. "//app/admin/ep/melloi/service/proto:all-srcs",
  91. ],
  92. tags = ["automanaged"],
  93. visibility = ["//visibility:public"],
  94. )