BUILD 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 = ["lint.go"],
  10. importpath = "go-common/app/admin/main/config/pkg/lint",
  11. tags = ["automanaged"],
  12. visibility = ["//visibility:public"],
  13. )
  14. go_test(
  15. name = "go_default_xtest",
  16. srcs = ["lint_test.go"],
  17. tags = ["automanaged"],
  18. deps = [
  19. "//app/admin/main/config/pkg/lint:go_default_library",
  20. "//app/admin/main/config/pkg/lint/json:go_default_library",
  21. "//app/admin/main/config/pkg/lint/toml:go_default_library",
  22. ],
  23. )
  24. filegroup(
  25. name = "package-srcs",
  26. srcs = glob(["**"]),
  27. tags = ["automanaged"],
  28. visibility = ["//visibility:private"],
  29. )
  30. filegroup(
  31. name = "all-srcs",
  32. srcs = [
  33. ":package-srcs",
  34. "//app/admin/main/config/pkg/lint/json:all-srcs",
  35. "//app/admin/main/config/pkg/lint/toml:all-srcs",
  36. ],
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:public"],
  39. )