BUILD.bazel 533 B

1234567891011121314151617181920212223242526
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = ["models.go"],
  8. importpath = "go-common/app/tool/gorpc/model",
  9. tags = ["automanaged"],
  10. visibility = ["//visibility:public"],
  11. )
  12. filegroup(
  13. name = "package-srcs",
  14. srcs = glob(["**"]),
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:private"],
  17. )
  18. filegroup(
  19. name = "all-srcs",
  20. srcs = [":package-srcs"],
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:public"],
  23. )