forked from bufbuild/protoc-gen-validate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
25 lines (22 loc) · 815 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
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
# gazelle:prefix github.com/TheThingsIndustries/protoc-gen-validate
# gazelle:exclude tests
gazelle(name = "gazelle")
go_binary(
name = "protoc-gen-validate",
embed = [":go_default_library"],
importpath = "github.com/TheThingsIndustries/protoc-gen-validate",
visibility = ["//visibility:public"],
)
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/TheThingsIndustries/protoc-gen-validate",
visibility = ["//visibility:private"],
deps = [
"//module:go_default_library",
"@com_github_lyft_protoc_gen_star_v2//:go_default_library",
"@com_github_lyft_protoc_gen_star_v2//lang/go:go_default_library",
],
)