BUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "basic.go",
  10. "branch.go",
  11. "commit.go",
  12. "config.go",
  13. "http.go",
  14. "job.go",
  15. "member.go",
  16. "mr.go",
  17. "pipeline.go",
  18. "project.go",
  19. "runner.go",
  20. "task.go",
  21. "team.go",
  22. "user.go",
  23. "wechat.go",
  24. ],
  25. importpath = "go-common/app/admin/ep/saga/http",
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. deps = [
  29. "//app/admin/ep/saga/conf:go_default_library",
  30. "//app/admin/ep/saga/model:go_default_library",
  31. "//app/admin/ep/saga/service:go_default_library",
  32. "//library/ecode:go_default_library",
  33. "//library/log:go_default_library",
  34. "//library/net/http/blademaster:go_default_library",
  35. "//library/net/http/blademaster/binding:go_default_library",
  36. "//library/net/http/blademaster/middleware/permit:go_default_library",
  37. ],
  38. )
  39. filegroup(
  40. name = "package-srcs",
  41. srcs = glob(["**"]),
  42. tags = ["automanaged"],
  43. visibility = ["//visibility:private"],
  44. )
  45. filegroup(
  46. name = "all-srcs",
  47. srcs = [":package-srcs"],
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:public"],
  50. )