BUILD 945 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. "go_test",
  6. )
  7. go_library(
  8. name = "go_default_library",
  9. srcs = [
  10. "reply.go",
  11. "xints.go",
  12. ],
  13. importpath = "go-common/app/interface/main/creative/model/reply",
  14. tags = ["automanaged"],
  15. visibility = ["//visibility:public"],
  16. deps = [
  17. "//app/interface/main/reply/model/reply:go_default_library",
  18. "//library/time:go_default_library",
  19. ],
  20. )
  21. filegroup(
  22. name = "package-srcs",
  23. srcs = glob(["**"]),
  24. tags = ["automanaged"],
  25. visibility = ["//visibility:private"],
  26. )
  27. filegroup(
  28. name = "all-srcs",
  29. srcs = [":package-srcs"],
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:public"],
  32. )
  33. go_test(
  34. name = "go_default_test",
  35. srcs = ["xints_test.go"],
  36. embed = [":go_default_library"],
  37. rundir = ".",
  38. tags = ["automanaged"],
  39. )