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