BUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 = ["stra_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. "abtest.go",
  19. "group.go",
  20. "stra.go",
  21. "version.go",
  22. ],
  23. importpath = "go-common/app/service/openplatform/abtest/model",
  24. tags = ["automanaged"],
  25. deps = [
  26. "//library/log:go_default_library",
  27. "//library/time:go_default_library",
  28. ],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [
  39. ":package-srcs",
  40. "//app/service/openplatform/abtest/model/jump:all-srcs",
  41. "//app/service/openplatform/abtest/model/validator:all-srcs",
  42. ],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )