BUILD 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. "activity_test.go",
  11. "business_test.go",
  12. "challenge_test.go",
  13. "platform_test.go",
  14. "service_test.go",
  15. "wlog_test.go",
  16. ],
  17. embed = [":go_default_library"],
  18. rundir = ".",
  19. tags = ["automanaged"],
  20. deps = [
  21. "//app/admin/main/workflow/model:go_default_library",
  22. "//app/admin/main/workflow/model/param:go_default_library",
  23. "//app/admin/main/workflow/model/search:go_default_library",
  24. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  25. ],
  26. )
  27. go_library(
  28. name = "go_default_library",
  29. srcs = [
  30. "activity.go",
  31. "business.go",
  32. "callback.go",
  33. "challenge.go",
  34. "event.go",
  35. "group.go",
  36. "meta.go",
  37. "platform.go",
  38. "service.go",
  39. "tag.go",
  40. "task.go",
  41. "wlog.go",
  42. ],
  43. importpath = "go-common/app/admin/main/workflow/service",
  44. tags = ["automanaged"],
  45. deps = [
  46. "//app/admin/main/credit/model/blocked:go_default_library",
  47. "//app/admin/main/workflow/dao:go_default_library",
  48. "//app/admin/main/workflow/model:go_default_library",
  49. "//app/admin/main/workflow/model/param:go_default_library",
  50. "//app/admin/main/workflow/model/search:go_default_library",
  51. "//app/job/main/credit/model:go_default_library",
  52. "//library/conf/paladin:go_default_library",
  53. "//library/ecode:go_default_library",
  54. "//library/log:go_default_library",
  55. "//library/net/http/blademaster:go_default_library",
  56. "//library/queue/databus/report:go_default_library",
  57. "//library/time:go_default_library",
  58. "//vendor/github.com/jinzhu/gorm:go_default_library",
  59. "//vendor/github.com/pkg/errors:go_default_library",
  60. "//vendor/golang.org/x/sync/errgroup:go_default_library",
  61. ],
  62. )
  63. filegroup(
  64. name = "package-srcs",
  65. srcs = glob(["**"]),
  66. tags = ["automanaged"],
  67. visibility = ["//visibility:private"],
  68. )
  69. filegroup(
  70. name = "all-srcs",
  71. srcs = [":package-srcs"],
  72. tags = ["automanaged"],
  73. visibility = ["//visibility:public"],
  74. )