forked from bufbuild/protoc-gen-validate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
26 lines (23 loc) · 734 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
gazelle(
name = "gazelle",
external = "vendored",
)
go_binary(
name = "protoc-gen-validate",
embed = [":go_default_library"],
importpath = "github.com/lyft/protoc-gen-validate",
visibility = ["//visibility:public"],
)
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/lyft/protoc-gen-validate",
visibility = ["//visibility:private"],
deps = [
"//module:go_default_library",
"//vendor/github.com/lyft/protoc-gen-star:go_default_library",
"//vendor/github.com/lyft/protoc-gen-star/lang/go:go_default_library",
],
)