BUILD 910 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. "bom.go",
  11. "discard_go15.go",
  12. ],
  13. importpath = "go-common/app/admin/main/member/model/bom",
  14. tags = ["automanaged"],
  15. visibility = ["//visibility:public"],
  16. )
  17. go_test(
  18. name = "go_default_xtest",
  19. srcs = ["bom_test.go"],
  20. tags = ["automanaged"],
  21. deps = [
  22. "//app/admin/main/member/model/bom:go_default_library",
  23. "//vendor/github.com/stretchr/testify/assert:go_default_library",
  24. ],
  25. )
  26. filegroup(
  27. name = "package-srcs",
  28. srcs = glob(["**"]),
  29. tags = ["automanaged"],
  30. visibility = ["//visibility:private"],
  31. )
  32. filegroup(
  33. name = "all-srcs",
  34. srcs = [":package-srcs"],
  35. tags = ["automanaged"],
  36. visibility = ["//visibility:public"],
  37. )