BUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "archive.go",
  10. "contest.go",
  11. "game.go",
  12. "http.go",
  13. "match.go",
  14. "match_active.go",
  15. "match_detail.go",
  16. "season.go",
  17. "tag.go",
  18. "team.go",
  19. "tree.go",
  20. ],
  21. importpath = "go-common/app/admin/main/esports/http",
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. deps = [
  25. "//app/admin/main/esports/conf:go_default_library",
  26. "//app/admin/main/esports/model:go_default_library",
  27. "//app/admin/main/esports/service:go_default_library",
  28. "//library/ecode:go_default_library",
  29. "//library/log:go_default_library",
  30. "//library/net/http/blademaster:go_default_library",
  31. "//library/net/http/blademaster/middleware/permit:go_default_library",
  32. "//library/xstr:go_default_library",
  33. ],
  34. )
  35. filegroup(
  36. name = "package-srcs",
  37. srcs = glob(["**"]),
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:private"],
  40. )
  41. filegroup(
  42. name = "all-srcs",
  43. srcs = [":package-srcs"],
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:public"],
  46. )