Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
16 lines
450 B
16 lines
450 B
load("//build_defs:internal_shell.bzl", "inline_sh_test") |
|
|
|
# Run csharp compatibility test between 3.0.0 and the current version. |
|
inline_sh_test( |
|
name = "tests", |
|
srcs = ["test.sh"], |
|
cmd = "$(location test.sh) 3.0.0 $(rootpath //:protoc)", |
|
tools = ["//:protoc"], |
|
deps = glob([ |
|
"src/**/*.cs*", # .cs and .csproj |
|
"protos/**/*.proto", |
|
]) + [ |
|
"//:well_known_type_protos", |
|
"//csharp:srcs", |
|
], |
|
)
|
|
|