BUILD 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "activity.go",
  10. "blacklist.go",
  11. "budget.go",
  12. "charge.go",
  13. "cheat.go",
  14. "databus.go",
  15. "email.go",
  16. "income.go",
  17. "lottery.go",
  18. "patch.go",
  19. "tag.go",
  20. "up_bill.go",
  21. "upload.go",
  22. "video.go",
  23. ],
  24. importpath = "go-common/app/job/main/growup/model",
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. deps = ["//library/time:go_default_library"],
  28. )
  29. filegroup(
  30. name = "package-srcs",
  31. srcs = glob(["**"]),
  32. tags = ["automanaged"],
  33. visibility = ["//visibility:private"],
  34. )
  35. filegroup(
  36. name = "all-srcs",
  37. srcs = [
  38. ":package-srcs",
  39. "//app/job/main/growup/model/charge:all-srcs",
  40. "//app/job/main/growup/model/income:all-srcs",
  41. "//app/job/main/growup/model/tag:all-srcs",
  42. ],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )