BUILD 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 = ["challenge_test.go"],
  10. embed = [":go_default_library"],
  11. rundir = ".",
  12. tags = ["automanaged"],
  13. deps = ["//vendor/github.com/smartystreets/goconvey/convey:go_default_library"],
  14. )
  15. go_library(
  16. name = "go_default_library",
  17. srcs = [
  18. "archive.go",
  19. "attachment.go",
  20. "business.go",
  21. "callback.go",
  22. "challenge.go",
  23. "control.go",
  24. "event.go",
  25. "group.go",
  26. "log.go",
  27. "tag.go",
  28. ],
  29. importpath = "go-common/app/service/main/workflow/model",
  30. tags = ["automanaged"],
  31. deps = ["//library/time:go_default_library"],
  32. )
  33. filegroup(
  34. name = "package-srcs",
  35. srcs = glob(["**"]),
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:private"],
  38. )
  39. filegroup(
  40. name = "all-srcs",
  41. srcs = [
  42. ":package-srcs",
  43. "//app/service/main/workflow/model/account:all-srcs",
  44. "//app/service/main/workflow/model/sobot:all-srcs",
  45. ],
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:public"],
  48. )