git-subtree-dir: libs/protobuf git-subtree-split: fcd3b9a85ef36e46643dc30176cea1a7ad62e02b
17 lines
436 B
Python
17 lines
436 B
Python
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)"
|
|
)
|