BUILD 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. "service_test.go",
  12. ],
  13. embed = [":go_default_library"],
  14. tags = ["automanaged"],
  15. deps = [
  16. "//app/job/main/up/conf:go_default_library",
  17. "//app/job/main/up/dao/upcrm:go_default_library",
  18. "//app/job/main/up/model/archivemodel:go_default_library",
  19. "//app/job/main/up/model/signmodel:go_default_library",
  20. ],
  21. )
  22. go_library(
  23. name = "go_default_library",
  24. srcs = [
  25. "archive.go",
  26. "service.go",
  27. "sign_due_job.go",
  28. "sign_state_job.go",
  29. "sign_task_job.go",
  30. "sign_update_tid_job.go",
  31. ],
  32. importpath = "go-common/app/job/main/up/service",
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:public"],
  35. deps = [
  36. "//app/admin/main/up/util:go_default_library",
  37. "//app/admin/main/up/util/databusutil:go_default_library",
  38. "//app/admin/main/up/util/mathutil:go_default_library",
  39. "//app/interface/main/mcn/tool/worker:go_default_library",
  40. "//app/job/main/up/conf:go_default_library",
  41. "//app/job/main/up/dao/account:go_default_library",
  42. "//app/job/main/up/dao/email:go_default_library",
  43. "//app/job/main/up/dao/upcrm:go_default_library",
  44. "//app/job/main/up/model:go_default_library",
  45. "//app/job/main/up/model/archivemodel:go_default_library",
  46. "//app/job/main/up/model/signmodel:go_default_library",
  47. "//app/job/main/up/model/upcrmmodel:go_default_library",
  48. "//app/service/main/account/model:go_default_library",
  49. "//app/service/main/archive/api:go_default_library",
  50. "//app/service/main/up/api/v1:go_default_library",
  51. "//app/service/main/upcredit/mathutil:go_default_library",
  52. "//library/log:go_default_library",
  53. "//library/queue/databus:go_default_library",
  54. "//library/time:go_default_library",
  55. "//vendor/github.com/jinzhu/gorm:go_default_library",
  56. "//vendor/github.com/robfig/cron:go_default_library",
  57. ],
  58. )
  59. filegroup(
  60. name = "package-srcs",
  61. srcs = glob(["**"]),
  62. tags = ["automanaged"],
  63. visibility = ["//visibility:private"],
  64. )
  65. filegroup(
  66. name = "all-srcs",
  67. srcs = [":package-srcs"],
  68. tags = ["automanaged"],
  69. visibility = ["//visibility:public"],
  70. )