BUILD 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. "academy_test.go",
  11. "whiteList_test.go",
  12. ],
  13. embed = [":go_default_library"],
  14. rundir = ".",
  15. tags = ["automanaged"],
  16. deps = [
  17. "//app/admin/main/creative/conf:go_default_library",
  18. "//app/admin/main/creative/service:go_default_library",
  19. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  20. ],
  21. )
  22. go_library(
  23. name = "go_default_library",
  24. srcs = [
  25. "academy_archive.go",
  26. "academy_occupation.go",
  27. "academy_tag.go",
  28. "app.go",
  29. "csv.go",
  30. "export.go",
  31. "http.go",
  32. "index.go",
  33. "local.go",
  34. "material.go",
  35. "material_category.go",
  36. "music.go",
  37. "music_category.go",
  38. "music_material.go",
  39. "music_with_category.go",
  40. "music_with_material.go",
  41. "operCollectArc.go",
  42. "task.go",
  43. "upload.go",
  44. "whitelist.go",
  45. ],
  46. importpath = "go-common/app/admin/main/creative/http",
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. deps = [
  50. "//app/admin/main/creative/conf:go_default_library",
  51. "//app/admin/main/creative/model/academy:go_default_library",
  52. "//app/admin/main/creative/model/app:go_default_library",
  53. "//app/admin/main/creative/model/logcli:go_default_library",
  54. "//app/admin/main/creative/model/material:go_default_library",
  55. "//app/admin/main/creative/model/music:go_default_library",
  56. "//app/admin/main/creative/model/operation:go_default_library",
  57. "//app/admin/main/creative/model/task:go_default_library",
  58. "//app/admin/main/creative/model/whitelist:go_default_library",
  59. "//app/admin/main/creative/service:go_default_library",
  60. "//app/interface/openplatform/article/model:go_default_library",
  61. "//app/service/main/account/api:go_default_library",
  62. "//app/service/main/archive/api:go_default_library",
  63. "//library/ecode:go_default_library",
  64. "//library/log:go_default_library",
  65. "//library/net/http/blademaster:go_default_library",
  66. "//library/net/http/blademaster/binding:go_default_library",
  67. "//library/net/http/blademaster/middleware/permit:go_default_library",
  68. "//library/net/http/blademaster/render:go_default_library",
  69. "//library/net/metadata:go_default_library",
  70. "//library/sync/errgroup:go_default_library",
  71. "//library/xstr:go_default_library",
  72. "//vendor/github.com/davecgh/go-spew/spew:go_default_library",
  73. "//vendor/github.com/jinzhu/gorm:go_default_library",
  74. "//vendor/github.com/pkg/errors:go_default_library",
  75. ],
  76. )
  77. filegroup(
  78. name = "package-srcs",
  79. srcs = glob(["**"]),
  80. tags = ["automanaged"],
  81. visibility = ["//visibility:private"],
  82. )
  83. filegroup(
  84. name = "all-srcs",
  85. srcs = [":package-srcs"],
  86. tags = ["automanaged"],
  87. visibility = ["//visibility:public"],
  88. )