Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
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.
17 lines
436 B
17 lines
436 B
2 years ago
|
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"],
|
||
|
tools = ["//:protoc"],
|
||
|
deps = glob([
|
||
|
"src/**/*.cs*", # .cs and .csproj
|
||
|
"protos/**/*.proto",
|
||
|
]) + [
|
||
|
"//csharp:srcs",
|
||
|
"//:well_known_protos",
|
||
|
],
|
||
|
cmd = "$(location test.sh) 3.0.0 $(rootpath //:protoc)"
|
||
|
)
|