BUILD 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = [
  10. "bfs_test.go",
  11. "dao_test.go",
  12. "playerCheck_test.go",
  13. "reply_test.go",
  14. "session_test.go",
  15. "tag_test.go",
  16. ],
  17. embed = [":go_default_library"],
  18. rundir = ".",
  19. tags = ["automanaged"],
  20. deps = [
  21. "//app/interface/main/feedback/conf:go_default_library",
  22. "//app/interface/main/feedback/model:go_default_library",
  23. "//library/database/sql:go_default_library",
  24. "//vendor/github.com/bouk/monkey:go_default_library",
  25. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  26. "//vendor/gopkg.in/h2non/gock.v1:go_default_library",
  27. ],
  28. )
  29. go_library(
  30. name = "go_default_library",
  31. srcs = [
  32. "bfs.go",
  33. "dao.go",
  34. "playerCheck.go",
  35. "reply.go",
  36. "session.go",
  37. "tag.go",
  38. ],
  39. importpath = "go-common/app/interface/main/feedback/dao",
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:public"],
  42. deps = [
  43. "//app/interface/main/feedback/conf:go_default_library",
  44. "//app/interface/main/feedback/model:go_default_library",
  45. "//library/database/sql:go_default_library",
  46. "//library/log:go_default_library",
  47. "//library/time:go_default_library",
  48. "//library/xstr:go_default_library",
  49. ],
  50. )
  51. filegroup(
  52. name = "package-srcs",
  53. srcs = glob(["**"]),
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:private"],
  56. )
  57. filegroup(
  58. name = "all-srcs",
  59. srcs = [":package-srcs"],
  60. tags = ["automanaged"],
  61. visibility = ["//visibility:public"],
  62. )