BUILD 680 B

1234567891011121314151617181920212223242526272829303132
  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 = [
  9. "model.go",
  10. "thumbup.go",
  11. ],
  12. importpath = "go-common/app/job/main/thumbup/model",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = ["//library/time:go_default_library"],
  16. )
  17. filegroup(
  18. name = "package-srcs",
  19. srcs = glob(["**"]),
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:private"],
  22. )
  23. filegroup(
  24. name = "all-srcs",
  25. srcs = [":package-srcs"],
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. )