1load("//build_defs:internal_shell.bzl", "inline_sh_test") 2 3# Run csharp compatibility test between 3.0.0 and the current version. 4inline_sh_test( 5 name = "tests", 6 srcs = ["test.sh"], 7 cmd = "$(location test.sh) 3.0.0 $(rootpath //:protoc)", 8 tools = ["//:protoc"], 9 deps = glob([ 10 "src/**/*.cs*", # .cs and .csproj 11 "protos/**/*.proto", 12 ]) + [ 13 "//:well_known_type_protos", 14 "//csharp:srcs", 15 ], 16) 17