BUILD 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. "args_test.go",
  11. "builder_test.go",
  12. "cond_test.go",
  13. "flavor_test.go",
  14. "modifiers_test.go",
  15. "select_test.go",
  16. ],
  17. embed = [":go_default_library"],
  18. rundir = ".",
  19. tags = ["automanaged"],
  20. )
  21. go_library(
  22. name = "go_default_library",
  23. srcs = [
  24. "args.go",
  25. "builder.go",
  26. "cond.go",
  27. "flavor.go",
  28. "modifiers.go",
  29. "select.go",
  30. ],
  31. importpath = "go-common/app/service/main/account-recovery/dao/sqlbuilder",
  32. tags = ["automanaged"],
  33. visibility = ["//visibility:public"],
  34. )
  35. filegroup(
  36. name = "package-srcs",
  37. srcs = glob(["**"]),
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:private"],
  40. )
  41. filegroup(
  42. name = "all-srcs",
  43. srcs = [":package-srcs"],
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:public"],
  46. )