BUILD 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. "go_test",
  6. )
  7. go_library(
  8. name = "go_default_library",
  9. srcs = [
  10. "app_active.go",
  11. "card_set_stars.go",
  12. "channel_tab.go",
  13. "dao.go",
  14. "event_topic.go",
  15. "search_web.go",
  16. "search_web_card.go",
  17. ],
  18. importpath = "go-common/app/admin/main/feed/dao/show",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = [
  22. "//app/admin/main/feed/conf:go_default_library",
  23. "//app/admin/main/feed/model/common:go_default_library",
  24. "//app/admin/main/feed/model/show:go_default_library",
  25. "//library/database/orm:go_default_library",
  26. "//library/log:go_default_library",
  27. "//vendor/github.com/jinzhu/gorm:go_default_library",
  28. ],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [":package-srcs"],
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. )
  42. go_test(
  43. name = "go_default_test",
  44. srcs = [
  45. "app_active_test.go",
  46. "card_set_stars_test.go",
  47. "channel_tab_test.go",
  48. "dao_test.go",
  49. "event_topic_test.go",
  50. "search_web_card_test.go",
  51. "search_web_test.go",
  52. ],
  53. embed = [":go_default_library"],
  54. rundir = ".",
  55. tags = ["automanaged"],
  56. deps = [
  57. "//app/admin/main/feed/conf:go_default_library",
  58. "//app/admin/main/feed/model/show:go_default_library",
  59. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  60. ],
  61. )