forked from pseudomuto/protoc-gen-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
49 lines (46 loc) · 1.52 KB
/
BUILD.bazel
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/pseudomuto/protoc-gen-doc
gazelle(name = "gazelle")
go_library(
name = "go_default_library",
srcs = [
"doc.go",
"filters.go",
"plugin.go",
"renderer.go",
"resources.go",
"template.go",
"version.go",
],
importpath = "github.com/pseudomuto/protoc-gen-doc",
visibility = ["//visibility:public"],
deps = [
"@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
"@com_github_masterminds_sprig//:go_default_library",
"//extensions:go_default_library",
"@com_github_pseudomuto_protokit//:go_default_library",
"@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
],
)
go_test(
name = "project_test",
srcs = [
"bench_test.go",
"filters_test.go",
"plugin_test.go",
"renderer_test.go",
"template_test.go",
],
embed = [":project"],
deps = [
"@com_github_golang_protobuf//proto:go_default_library",
"//:go_default_library",
"//extensions:go_default_library",
"@com_github_pseudomuto_protokit//:go_default_library",
"@com_github_pseudomuto_protokit//utils:go_default_library",
"@com_github_stretchr_testify//require:go_default_library",
"@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
],
)