BUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. "task_qa_video_test.go",
  11. "video_test.go",
  12. ],
  13. embed = [":go_default_library"],
  14. rundir = ".",
  15. tags = ["automanaged"],
  16. deps = ["//vendor/github.com/smartystreets/goconvey/convey:go_default_library"],
  17. )
  18. go_library(
  19. name = "go_default_library",
  20. srcs = [
  21. "archive.go",
  22. "log.go",
  23. "oper.go",
  24. "params.go",
  25. "review.go",
  26. "task.go",
  27. "task_qa.go",
  28. "task_qa_video.go",
  29. "time.go",
  30. "up_group.go",
  31. "user.go",
  32. "utils.go",
  33. "video.go",
  34. "weight.go",
  35. ],
  36. importpath = "go-common/app/admin/main/videoup-task/model",
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:public"],
  39. deps = [
  40. "//library/log:go_default_library",
  41. "//library/time:go_default_library",
  42. "//library/xstr:go_default_library",
  43. ],
  44. )
  45. filegroup(
  46. name = "package-srcs",
  47. srcs = glob(["**"]),
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:private"],
  50. )
  51. filegroup(
  52. name = "all-srcs",
  53. srcs = [":package-srcs"],
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:public"],
  56. )