BUILD 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "column.go",
  11. "exchange.go",
  12. "http.go",
  13. "income.go",
  14. "join.go",
  15. "local.go",
  16. "newbie.go",
  17. "notice.go",
  18. "special_award.go",
  19. "web.go",
  20. "withdraw.go",
  21. ],
  22. importpath = "go-common/app/interface/main/growup/http",
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:public"],
  25. deps = [
  26. "//app/interface/main/growup/conf:go_default_library",
  27. "//app/interface/main/growup/model:go_default_library",
  28. "//app/interface/main/growup/service:go_default_library",
  29. "//app/interface/main/growup/service/newbie:go_default_library",
  30. "//library/ecode:go_default_library",
  31. "//library/log:go_default_library",
  32. "//library/net/http/blademaster:go_default_library",
  33. "//library/net/http/blademaster/middleware/auth:go_default_library",
  34. "//library/net/http/blademaster/render:go_default_library",
  35. "//library/net/metadata:go_default_library",
  36. ],
  37. )
  38. filegroup(
  39. name = "package-srcs",
  40. srcs = glob(["**"]),
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:private"],
  43. )
  44. filegroup(
  45. name = "all-srcs",
  46. srcs = [":package-srcs"],
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. )