You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
628 B
24 lines
628 B
load("@io_bazel_rules_go//proto:compiler.bzl", "go_proto_compiler") |
|
load("//:utils.bzl", "json_data") |
|
load(":repository_locations.bzl", "REPOSITORY_LOCATIONS_SPEC") |
|
|
|
licenses(["notice"]) # Apache 2 |
|
|
|
exports_files([ |
|
"repository_locations.bzl", |
|
"repository_locations_utils.bzl", |
|
]) |
|
|
|
go_proto_compiler( |
|
name = "pgv_plugin_go", |
|
options = ["lang=go"], |
|
plugin = "@com_envoyproxy_protoc_gen_validate//:protoc-gen-validate", |
|
suffix = ".pb.validate.go", |
|
valid_archive = False, |
|
visibility = ["//visibility:public"], |
|
) |
|
|
|
json_data( |
|
name = "repository_locations", |
|
data = REPOSITORY_LOCATIONS_SPEC, |
|
)
|
|
|