BUILD 828 B

12345678910111213141516171819202122232425262728293031323334353637
  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 = ["jsonlint_test.go"],
  10. embed = [":go_default_library"],
  11. tags = ["automanaged"],
  12. )
  13. go_library(
  14. name = "go_default_library",
  15. srcs = ["jsonlint.go"],
  16. importpath = "go-common/app/admin/main/config/pkg/lint/json",
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:public"],
  19. deps = ["//app/admin/main/config/pkg/lint:go_default_library"],
  20. )
  21. filegroup(
  22. name = "package-srcs",
  23. srcs = glob(["**"]),
  24. tags = ["automanaged"],
  25. visibility = ["//visibility:private"],
  26. )
  27. filegroup(
  28. name = "all-srcs",
  29. srcs = [":package-srcs"],
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:public"],
  32. )