BUILD.bazel 749 B

1234567891011121314151617181920212223
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "templates",
  4. srcs = ["pkg.go"],
  5. importpath = "github.com/envoyproxy/protoc-gen-validate/templates",
  6. visibility = ["//visibility:public"],
  7. deps = [
  8. "//templates/cc",
  9. "//templates/go",
  10. "//templates/java",
  11. "//templates/shared",
  12. "@com_github_lyft_protoc_gen_star//:protoc-gen-star",
  13. "@com_github_lyft_protoc_gen_star//lang/go",
  14. ],
  15. )
  16. alias(
  17. name = "go_default_library",
  18. actual = ":templates",
  19. deprecation = "Use :templates instead of :go_default_library. Details about the new naming convention: https://github.com/bazelbuild/bazel-gazelle/pull/863",
  20. visibility = ["//visibility:public"],
  21. )