BUILD 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. filegroup(
  8. name = "package-srcs",
  9. srcs = glob(["**"]),
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:private"],
  12. )
  13. filegroup(
  14. name = "all-srcs",
  15. srcs = [
  16. ":package-srcs",
  17. "//app/admin/main/workflow/model/manager:all-srcs",
  18. "//app/admin/main/workflow/model/param:all-srcs",
  19. "//app/admin/main/workflow/model/search:all-srcs",
  20. ],
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:public"],
  23. )
  24. go_test(
  25. name = "go_default_test",
  26. srcs = ["challenge_test.go"],
  27. embed = [":go_default_library"],
  28. rundir = ".",
  29. tags = ["automanaged"],
  30. deps = ["//vendor/github.com/smartystreets/goconvey/convey:go_default_library"],
  31. )
  32. go_library(
  33. name = "go_default_library",
  34. srcs = [
  35. "activity.go",
  36. "block.go",
  37. "business.go",
  38. "business_attr.go",
  39. "callback.go",
  40. "challenge.go",
  41. "common.go",
  42. "event.go",
  43. "extra.go",
  44. "group.go",
  45. "message.go",
  46. "platform_meta.go",
  47. "reply.go",
  48. "state.go",
  49. "tag.go",
  50. "wlog.go",
  51. ],
  52. importpath = "go-common/app/admin/main/workflow/model",
  53. tags = ["automanaged"],
  54. visibility = ["//visibility:public"],
  55. deps = [
  56. "//app/admin/main/workflow/model/param:go_default_library",
  57. "//app/job/main/credit/model:go_default_library",
  58. "//library/time:go_default_library",
  59. ],
  60. )