BUILD 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = ["view.go"],
  9. importpath = "go-common/app/interface/main/app-intl/model/view",
  10. tags = ["automanaged"],
  11. deps = [
  12. "//app/interface/main/app-intl/model:go_default_library",
  13. "//app/interface/main/app-intl/model/bangumi:go_default_library",
  14. "//app/interface/main/app-intl/model/manager:go_default_library",
  15. "//app/interface/main/app-intl/model/tag:go_default_library",
  16. "//app/interface/main/dm2/model:go_default_library",
  17. "//app/service/main/archive/api:go_default_library",
  18. "//app/service/main/archive/model/archive:go_default_library",
  19. "//library/time:go_default_library",
  20. ],
  21. )
  22. filegroup(
  23. name = "package-srcs",
  24. srcs = glob(["**"]),
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:private"],
  27. )
  28. filegroup(
  29. name = "all-srcs",
  30. srcs = [":package-srcs"],
  31. tags = ["automanaged"],
  32. visibility = ["//visibility:public"],
  33. )