BUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. "creditlog.go",
  10. "requestargs.go",
  11. "score_section_history.go",
  12. "task_info.go",
  13. "up_base_info.go",
  14. "up_play_info.go",
  15. "up_rank.go",
  16. "up_scores_history.go",
  17. "up_stats_history.go",
  18. ],
  19. importpath = "go-common/app/admin/main/up/model/upcrmmodel",
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:public"],
  22. deps = [
  23. "//app/admin/main/up/model/datamodel:go_default_library",
  24. "//app/admin/main/up/util:go_default_library",
  25. "//library/time:go_default_library",
  26. "//vendor/github.com/siddontang/go-mysql/mysql:go_default_library",
  27. ],
  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 = [":package-srcs"],
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:public"],
  40. )