mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Replace dotnet proto build with Bazel-hermetic C# proto generation (#6097)
* Replace dotnet proto build with Bazel-hermetic C# proto generation Use rules_proto_grpc_csharp to generate .cs source files via Bazel instead of requiring a locally-installed dotnet SDK to build protos.dll. This eliminates the dotnet dependency for CI runners and makes the proto build fully hermetic. - Add bazel_dep for rules_proto_grpc_csharp 5.8.0 - Bump grpc 1.74.0 -> 1.74.1 (required by rules_proto_grpc_csharp) - Add csharp_proto_compile/csharp_grpc_compile targets across 8 proto BUILD.bazel files (81 .cs files from 78 protos) - Rewrite build_protos.sh to use bazel build + copy instead of dotnet - Output goes to Assets/GeneratedProtos/ with package-based subdirs to avoid filename collisions (e.g. ActionResultView.cs in both shardok/api/ and eagle/views/) - Add Assets/GeneratedProtos/ to .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Remove stale Eagle0Protos DLL references The old build_protos.sh generated protos.dll via dotnet; the new one generates .cs source files instead. Remove the tracked .meta and .deps.json files that reference the no-longer-generated DLL, and gitignore the directory to prevent re-adding. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,8 @@ scripts/refresh_name_layers/refresh_name_layers.zip
|
||||
.metals
|
||||
api_keys.txt
|
||||
|
||||
src/main/csharp/net/eagle0/clients/unity/eagle0/Assets/GeneratedProtos/
|
||||
src/main/csharp/net/eagle0/clients/unity/eagle0/Assets/Plugins/Eagle0Protos/
|
||||
src/main/csharp/net/eagle0/clients/unity/eagle0/ProjectSettings/Packages/com.unity.dedicated-server/
|
||||
node_modules/
|
||||
tools/map_generator/output/
|
||||
|
||||
+2
-1
@@ -180,8 +180,9 @@ use_repo(apple_cc_configure, "local_config_apple_cc")
|
||||
bazel_dep(name = "protobuf", version = "33.5", repo_name = "com_google_protobuf")
|
||||
bazel_dep(name = "rules_proto", version = "7.1.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.2.14")
|
||||
bazel_dep(name = "grpc", version = "1.74.0")
|
||||
bazel_dep(name = "grpc", version = "1.74.1")
|
||||
bazel_dep(name = "grpc-java", version = "1.78.0")
|
||||
bazel_dep(name = "rules_proto_grpc_csharp", version = "5.8.0")
|
||||
bazel_dep(name = "flatbuffers", version = "25.12.19")
|
||||
|
||||
#
|
||||
|
||||
Generated
+84
-9
@@ -26,6 +26,7 @@
|
||||
"https://bcr.bazel.build/modules/apple_support/1.15.1/MODULE.bazel": "a0556fefca0b1bb2de8567b8827518f94db6a6e7e7d632b4c48dc5f865bc7c85",
|
||||
"https://bcr.bazel.build/modules/apple_support/1.17.1/MODULE.bazel": "655c922ab1209978a94ef6ca7d9d43e940cd97d9c172fb55f94d91ac53f8610b",
|
||||
"https://bcr.bazel.build/modules/apple_support/1.21.0/MODULE.bazel": "ac1824ed5edf17dee2fdd4927ada30c9f8c3b520be1b5fd02a5da15bc10bff3e",
|
||||
"https://bcr.bazel.build/modules/apple_support/1.23.0/MODULE.bazel": "317d47e3f65b580e7fb4221c160797fda48e32f07d2dfff63d754ef2316dcd25",
|
||||
"https://bcr.bazel.build/modules/apple_support/1.23.1/MODULE.bazel": "53763fed456a968cf919b3240427cf3a9d5481ec5466abc9d5dc51bc70087442",
|
||||
"https://bcr.bazel.build/modules/apple_support/1.23.1/source.json": "d888b44312eb0ad2c21a91d026753f330caa48a25c9b2102fae75eb2b0dcfdd2",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/1.31.2/MODULE.bazel": "7bee702b4862612f29333590f4b658a5832d433d6f8e4395f090e8f4e85d442f",
|
||||
@@ -34,6 +35,7 @@
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.11.0/MODULE.bazel": "cb1ba9f9999ed0bc08600c221f532c1ddd8d217686b32ba7d45b0713b5131452",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.14.0/MODULE.bazel": "2b31ffcc9bdc8295b2167e07a757dbbc9ac8906e7028e5170a3708cecaac119f",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.19.3/MODULE.bazel": "253d739ba126f62a5767d832765b12b59e9f8d2bc88cc1572f4a73e46eb298ca",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.21.2/MODULE.bazel": "276347663a25b0d5bd6cad869252bea3e160c4d980e764b15f3bae7f80b30624",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.22.5/MODULE.bazel": "004ba890363d05372a97248c37205ae64b6fa31047629cd2c0895a9d0c7779e8",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.22.5/source.json": "ac2c3213df8f985785f1d0aeb7f0f73d5324e6e67d593d9b9470fb74a25d4a9b",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.7.2/MODULE.bazel": "780d1a6522b28f5edb7ea09630748720721dfe27690d65a2d33aa7509de77e07",
|
||||
@@ -65,6 +67,7 @@
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.27.0/MODULE.bazel": "621eeee06c4458a9121d1f104efb80f39d34deff4984e778359c60eaf1a8cb65",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.28.0/MODULE.bazel": "4b4200e6cbf8fa335b2c3f43e1d6ef3e240319c33d43d60cc0fbd4b87ece299d",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.30.0/MODULE.bazel": "a14b62d05969a293b80257e72e597c2da7f717e1e69fa8b339703ed6731bec87",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.32.0/MODULE.bazel": "095d67022a58cb20f7e20e1aefecfa65257a222c18a938e2914fd257b5f1ccdc",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.33.0/MODULE.bazel": "8b8dc9d2a4c88609409c3191165bccec0e4cb044cd7a72ccbe826583303459f6",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.34.0/MODULE.bazel": "e8475ad7c8965542e0c7aac8af68eb48c4af904be3d614b6aa6274c092c2ea1e",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.38.0/MODULE.bazel": "f9b8a9c890ebd216b4049fd12a31d3c2602e3403c7af636b04fbbd7453edc9c9",
|
||||
@@ -166,8 +169,8 @@
|
||||
"https://bcr.bazel.build/modules/grpc/1.69.0/MODULE.bazel": "4e26e05c9e1ef291ccbc96aad8e457b1b8abedbc141623831629da2f8168eef6",
|
||||
"https://bcr.bazel.build/modules/grpc/1.70.1/MODULE.bazel": "b800cd8e3e7555c1e61cba2e02d3a2fcf0e91f66e800db286d965d3b7a6a721a",
|
||||
"https://bcr.bazel.build/modules/grpc/1.71.0/MODULE.bazel": "7fcab2c05530373f1a442c362b17740dd0c75b6a2a975eec8f5bf4c70a37928a",
|
||||
"https://bcr.bazel.build/modules/grpc/1.74.0/MODULE.bazel": "83bca3739c1a3eba91f63f38b352e8681c9e58576f2def545e49a1e461b98a1f",
|
||||
"https://bcr.bazel.build/modules/grpc/1.74.0/source.json": "87c009e2f3226fd43170ce4896a3f17c819bd4c7388ff1336158b12b636a0ed9",
|
||||
"https://bcr.bazel.build/modules/grpc/1.74.1/MODULE.bazel": "09523be10ba2bfd999683671d0f8f22fb5b20ec77ad89b05ef58ff19a1b65c82",
|
||||
"https://bcr.bazel.build/modules/grpc/1.74.1/source.json": "8508bcf9bae1b7c647a594e13461ce192240fcdbb409c2741444322d47d01f98",
|
||||
"https://bcr.bazel.build/modules/helly25_bzl/0.3.1/MODULE.bazel": "3a4be20f6fc13be32ad44643b8252ef5af09eee936f1d943cd4fd7867fa92826",
|
||||
"https://bcr.bazel.build/modules/helly25_bzl/0.3.1/source.json": "b129ab1828492de2c163785bbeb4065c166de52d932524b4317beb5b7f917994",
|
||||
"https://bcr.bazel.build/modules/jq.bzl/0.1.0/MODULE.bazel": "2ce69b1af49952cd4121a9c3055faa679e748ce774c7f1fda9657f936cae902f",
|
||||
@@ -287,6 +290,9 @@
|
||||
"https://bcr.bazel.build/modules/rules_cc/0.2.13/MODULE.bazel": "eecdd666eda6be16a8d9dc15e44b5c75133405e820f620a234acc4b1fdc5aa37",
|
||||
"https://bcr.bazel.build/modules/rules_cc/0.2.14/MODULE.bazel": "353c99ed148887ee89c54a17d4100ae7e7e436593d104b668476019023b58df8",
|
||||
"https://bcr.bazel.build/modules/rules_cc/0.2.14/source.json": "55d0a4587c5592fad350f6e698530f4faf0e7dd15e69d43f8d87e220c78bea54",
|
||||
"https://bcr.bazel.build/modules/rules_cc/0.2.4/MODULE.bazel": "1ff1223dfd24f3ecf8f028446d4a27608aa43c3f41e346d22838a4223980b8cc",
|
||||
"https://bcr.bazel.build/modules/rules_dotnet/0.20.5/MODULE.bazel": "0ca90c23f5c8e7b7c353bd673062f8716eca7c525e4fd28da16247672251bd77",
|
||||
"https://bcr.bazel.build/modules/rules_dotnet/0.20.5/source.json": "c02b111398947328d041599f4cce6c0ce38516539940a1eea32fc1f1da27ef56",
|
||||
"https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/MODULE.bazel": "b9527010e5fef060af92b6724edb3691970a5b1f76f74b21d39f7d433641be60",
|
||||
"https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/source.json": "9300e71df0cdde0952f10afff1401fa664e9fc5d9ae6204660ba1b158d90d6a6",
|
||||
"https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6",
|
||||
@@ -372,6 +378,10 @@
|
||||
"https://bcr.bazel.build/modules/rules_proto/7.0.2/MODULE.bazel": "bf81793bd6d2ad89a37a40693e56c61b0ee30f7a7fdbaf3eabbf5f39de47dea2",
|
||||
"https://bcr.bazel.build/modules/rules_proto/7.1.0/MODULE.bazel": "002d62d9108f75bb807cd56245d45648f38275cb3a99dcd45dfb864c5d74cb96",
|
||||
"https://bcr.bazel.build/modules/rules_proto/7.1.0/source.json": "39f89066c12c24097854e8f57ab8558929f9c8d474d34b2c00ac04630ad8940e",
|
||||
"https://bcr.bazel.build/modules/rules_proto_grpc/5.8.0/MODULE.bazel": "38e2acb9aa480a04c780fa4b11bfaae0fa16e05f85f6d8fc32e044bad683ed86",
|
||||
"https://bcr.bazel.build/modules/rules_proto_grpc/5.8.0/source.json": "142d5c5dd650d0f817936835738daa7df2256dfb33c247163b600ab28cba31d1",
|
||||
"https://bcr.bazel.build/modules/rules_proto_grpc_csharp/5.8.0/MODULE.bazel": "2c3c0e8538a5ec6885eaebe550fdf4afa65e9d6b269abd4a8d4e9723f1f43ef8",
|
||||
"https://bcr.bazel.build/modules/rules_proto_grpc_csharp/5.8.0/source.json": "17428493c837cb30e3ad918ba0efd911a103d565fe60457daabbe746d8d799d7",
|
||||
"https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f",
|
||||
"https://bcr.bazel.build/modules/rules_python/0.20.0/MODULE.bazel": "bfe14d17f20e3fe900b9588f526f52c967a6f281e47a1d6b988679bd15082286",
|
||||
"https://bcr.bazel.build/modules/rules_python/0.22.0/MODULE.bazel": "b8057bafa11a9e0f4b08fc3b7cd7bee0dcbccea209ac6fc9a3ff051cd03e19e9",
|
||||
@@ -396,14 +406,17 @@
|
||||
"https://bcr.bazel.build/modules/rules_rust/0.45.1/MODULE.bazel": "a69d0db3a958fab2c6520961e1b2287afcc8b36690fd31bbc4f6f7391397150d",
|
||||
"https://bcr.bazel.build/modules/rules_rust/0.51.0/MODULE.bazel": "2b6d1617ac8503bfdcc0e4520c20539d4bba3a691100bee01afe193ceb0310f9",
|
||||
"https://bcr.bazel.build/modules/rules_rust/0.60.0/MODULE.bazel": "911ff2a12d01ac574fd6dfec0b05fa976ff8693d8c2420db637a9f98f697b0ae",
|
||||
"https://bcr.bazel.build/modules/rules_rust/0.60.0/source.json": "2b17f77e27489aa1b86b765a141642a1966a2a35fed0207277f3327fd09ef3d4",
|
||||
"https://bcr.bazel.build/modules/rules_rust/0.66.0/MODULE.bazel": "86ef763a582f4739a27029bdcc6c562258ed0ea6f8d58294b049e215ceb251b3",
|
||||
"https://bcr.bazel.build/modules/rules_rust/0.66.0/source.json": "5c2252a61ccc19b4e420c7c06429c8f51d8edd7b743dcb4b60571e7d40b5aa57",
|
||||
"https://bcr.bazel.build/modules/rules_scala/7.2.1/MODULE.bazel": "2785b23a7687aee2053bb0c0e028cd7aa8b87293bfb4bb877fd920bb716b170c",
|
||||
"https://bcr.bazel.build/modules/rules_scala/7.2.1/source.json": "d08af68dcc60497586bc0cf252c2d6b174571eb4c8cf35fbfc71aef57d100ba0",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.1.2/MODULE.bazel": "66e4ca3ce084b04af0b9ff05ff14cab4e5df7503973818bb91cbc6cda08d32fc",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.3.0/MODULE.bazel": "de4402cd12f4cc8fda2354fce179fdb068c0b9ca1ec2d2b17b3e21b24c1a937b",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.4.0/MODULE.bazel": "0f8f11bb3cd11755f0b48c1de0bbcf62b4b34421023aa41a2fc74ef68d9584f0",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.4.1/MODULE.bazel": "00e501db01bbf4e3e1dd1595959092c2fadf2087b2852d3f553b5370f5633592",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.4.1/source.json": "4757bd277fe1567763991c4425b483477bb82e35e777a56fd846eb5cceda324a",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.5.0/MODULE.bazel": "8c8447370594d45539f66858b602b0bb2cb2d3401a4ebb9ad25830c59c0f366d",
|
||||
"https://bcr.bazel.build/modules/rules_shell/0.5.0/source.json": "3038276f07cbbdd1c432d1f80a2767e34143ffbb03cfa043f017e66adbba324c",
|
||||
"https://bcr.bazel.build/modules/rules_swift/3.1.2/MODULE.bazel": "72c8f5cf9d26427cee6c76c8e3853eb46ce6b0412a081b2b6db6e8ad56267400",
|
||||
"https://bcr.bazel.build/modules/rules_swift/3.1.2/source.json": "e85761f3098a6faf40b8187695e3de6d97944e98abd0d8ce579cb2daf6319a66",
|
||||
"https://bcr.bazel.build/modules/stardoc/0.5.0/MODULE.bazel": "f9f1f46ba8d9c3362648eea571c6f9100680efc44913618811b58cc9c02cd678",
|
||||
@@ -424,6 +437,8 @@
|
||||
"https://bcr.bazel.build/modules/tar.bzl/0.6.0/source.json": "4a620381df075a16cb3a7ed57bd1d05f7480222394c64a20fa51bdb636fda658",
|
||||
"https://bcr.bazel.build/modules/toolchains_llvm/1.6.0/MODULE.bazel": "39603859cafb1c6830160fcd6370552e836790e6abb2bfb8d13bff53c0c10a64",
|
||||
"https://bcr.bazel.build/modules/toolchains_llvm/1.6.0/source.json": "6bd3ef95a288dd2bb1582eca332af850c9a5428a23bb92cb1c57c2dfe6cb7369",
|
||||
"https://bcr.bazel.build/modules/toolchains_protoc/0.5.0/MODULE.bazel": "e649dcd74790d8b186517588c827a777dfa67acfc4cbd733721c4be143ea107f",
|
||||
"https://bcr.bazel.build/modules/toolchains_protoc/0.5.0/source.json": "9152bf33827a44f796f94f486252fc0128d9efc2413246ebb09a234bb628a846",
|
||||
"https://bcr.bazel.build/modules/upb/0.0.0-20211020-160625a/MODULE.bazel": "6cced416be2dc5b9c05efd5b997049ba795e5e4e6fafbe1624f4587767638928",
|
||||
"https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43",
|
||||
"https://bcr.bazel.build/modules/upb/0.0.0-20230516-61a97ef/MODULE.bazel": "c0df5e35ad55e264160417fd0875932ee3c9dda63d9fccace35ac62f45e1b6f9",
|
||||
@@ -809,6 +824,66 @@
|
||||
"recordedRepoMappingEntries": []
|
||||
}
|
||||
},
|
||||
"@@rules_dotnet+//dotnet:extensions.bzl%dotnet": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "fd+R6GHICVvxgxz6YGDAcp7EbUx26nq9MWH1unOHz9I=",
|
||||
"usagesDigest": "vydwuob3b7NMVOj6/3H2W/VZ2890IAmdc5UX/mYOI/4=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
"envVariables": {},
|
||||
"generatedRepoSpecs": {
|
||||
"dotnet_x86_64-apple-darwin": {
|
||||
"repoRuleId": "@@rules_dotnet+//dotnet:repositories.bzl%dotnet_repositories",
|
||||
"attributes": {
|
||||
"platform": "x86_64-apple-darwin",
|
||||
"dotnet_version": "9.0.300"
|
||||
}
|
||||
},
|
||||
"dotnet_aarch64-apple-darwin": {
|
||||
"repoRuleId": "@@rules_dotnet+//dotnet:repositories.bzl%dotnet_repositories",
|
||||
"attributes": {
|
||||
"platform": "aarch64-apple-darwin",
|
||||
"dotnet_version": "9.0.300"
|
||||
}
|
||||
},
|
||||
"dotnet_x86_64-unknown-linux-gnu": {
|
||||
"repoRuleId": "@@rules_dotnet+//dotnet:repositories.bzl%dotnet_repositories",
|
||||
"attributes": {
|
||||
"platform": "x86_64-unknown-linux-gnu",
|
||||
"dotnet_version": "9.0.300"
|
||||
}
|
||||
},
|
||||
"dotnet_arm64-unknown-linux-gnu": {
|
||||
"repoRuleId": "@@rules_dotnet+//dotnet:repositories.bzl%dotnet_repositories",
|
||||
"attributes": {
|
||||
"platform": "arm64-unknown-linux-gnu",
|
||||
"dotnet_version": "9.0.300"
|
||||
}
|
||||
},
|
||||
"dotnet_x86_64-pc-windows-msvc": {
|
||||
"repoRuleId": "@@rules_dotnet+//dotnet:repositories.bzl%dotnet_repositories",
|
||||
"attributes": {
|
||||
"platform": "x86_64-pc-windows-msvc",
|
||||
"dotnet_version": "9.0.300"
|
||||
}
|
||||
},
|
||||
"dotnet_arm64-pc-windows-msvc": {
|
||||
"repoRuleId": "@@rules_dotnet+//dotnet:repositories.bzl%dotnet_repositories",
|
||||
"attributes": {
|
||||
"platform": "arm64-pc-windows-msvc",
|
||||
"dotnet_version": "9.0.300"
|
||||
}
|
||||
},
|
||||
"dotnet_toolchains": {
|
||||
"repoRuleId": "@@rules_dotnet+//dotnet/private:toolchains_repo.bzl%toolchains_repo",
|
||||
"attributes": {
|
||||
"user_repository_name": "dotnet"
|
||||
}
|
||||
}
|
||||
},
|
||||
"recordedRepoMappingEntries": []
|
||||
}
|
||||
},
|
||||
"@@rules_foreign_cc+//foreign_cc:extensions.bzl%tools": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "zQWdDuoSv0j1j1Xo98omGrujiwDhXv69hAfIGQG3RlU=",
|
||||
@@ -1328,7 +1403,7 @@
|
||||
"@@rules_oci+//oci:extensions.bzl%oci": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "gwOUQS77BQPmATtuOehde1z+K1YgWMininHA3wFipW4=",
|
||||
"usagesDigest": "lw4S5bMyh/Cz6DjlNkejGeKY5wXkCzloUpxGa1y/ugQ=",
|
||||
"usagesDigest": "UM4DPLezzFNq/4wXPJDexqf7qEZmwVInyo+t8N1ZsNA=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
"envVariables": {},
|
||||
@@ -1340,7 +1415,7 @@
|
||||
"scheme": "https",
|
||||
"registry": "index.docker.io",
|
||||
"repository": "library/eclipse-temurin",
|
||||
"identifier": "25-jre",
|
||||
"identifier": "sha256:98236ffdfb61cff3fc4f8e40e5b80460a5a4c35a0f56a5b4182a926844a7db49",
|
||||
"platform": "linux/amd64",
|
||||
"target_name": "eclipse_temurin_25_jre_linux_amd64",
|
||||
"bazel_tags": []
|
||||
@@ -1354,7 +1429,7 @@
|
||||
"scheme": "https",
|
||||
"registry": "index.docker.io",
|
||||
"repository": "library/eclipse-temurin",
|
||||
"identifier": "25-jre",
|
||||
"identifier": "sha256:98236ffdfb61cff3fc4f8e40e5b80460a5a4c35a0f56a5b4182a926844a7db49",
|
||||
"platforms": {
|
||||
"@@platforms//cpu:x86_64": "@eclipse_temurin_25_jre_linux_amd64"
|
||||
},
|
||||
@@ -1369,7 +1444,7 @@
|
||||
"scheme": "https",
|
||||
"registry": "index.docker.io",
|
||||
"repository": "library/eclipse-temurin",
|
||||
"identifier": "25-jdk",
|
||||
"identifier": "sha256:bc2d562355813350f47bc472b9721b0b84761866671ad95d9a9f1151fa69da6e",
|
||||
"platform": "linux/amd64",
|
||||
"target_name": "eclipse_temurin_25_jdk_linux_amd64",
|
||||
"bazel_tags": []
|
||||
@@ -1383,7 +1458,7 @@
|
||||
"scheme": "https",
|
||||
"registry": "index.docker.io",
|
||||
"repository": "library/eclipse-temurin",
|
||||
"identifier": "25-jdk",
|
||||
"identifier": "sha256:bc2d562355813350f47bc472b9721b0b84761866671ad95d9a9f1151fa69da6e",
|
||||
"platforms": {
|
||||
"@@platforms//cpu:x86_64": "@eclipse_temurin_25_jdk_linux_amd64"
|
||||
},
|
||||
|
||||
+54
-4
@@ -2,7 +2,57 @@
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
/bin/echo "build protos"
|
||||
mkdir -p src/main/csharp/net/eagle0/clients/unity/eagle0/Assets/Plugins/Eagle0Protos/
|
||||
dotnet build src/main/csharp/net/eagle0/clients/unity/eagle0/protos/protos.csproj \
|
||||
-o src/main/csharp/net/eagle0/clients/unity/eagle0/Assets/Plugins/Eagle0Protos/
|
||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
UNITY_ROOT="$REPO_ROOT/src/main/csharp/net/eagle0/clients/unity/eagle0"
|
||||
OUTPUT_DIR="$UNITY_ROOT/Assets/GeneratedProtos"
|
||||
|
||||
# All C# protobuf generation targets
|
||||
TARGETS=(
|
||||
"//src/main/protobuf/net/eagle0/common:common_csharp_proto_srcs"
|
||||
"//src/main/protobuf/net/eagle0/shardok/storage:storage_csharp_proto_srcs"
|
||||
"//src/main/protobuf/net/eagle0/shardok/common:common_csharp_proto_srcs"
|
||||
"//src/main/protobuf/net/eagle0/shardok/api:api_csharp_proto_srcs"
|
||||
"//src/main/protobuf/net/eagle0/eagle/common:common_csharp_proto_srcs"
|
||||
"//src/main/protobuf/net/eagle0/eagle/views:views_csharp_proto_srcs"
|
||||
"//src/main/protobuf/net/eagle0/eagle/api:api_csharp_proto_srcs"
|
||||
"//src/main/protobuf/net/eagle0/eagle/api:api_csharp_grpc_srcs"
|
||||
"//src/main/protobuf/net/eagle0/eagle/api/command/util:util_csharp_proto_srcs"
|
||||
)
|
||||
|
||||
# Subdirectory for each target (avoids filename collisions across packages)
|
||||
SUBDIRS=(
|
||||
"net/eagle0/common"
|
||||
"net/eagle0/shardok/storage"
|
||||
"net/eagle0/shardok/common"
|
||||
"net/eagle0/shardok/api"
|
||||
"net/eagle0/eagle/common"
|
||||
"net/eagle0/eagle/views"
|
||||
"net/eagle0/eagle/api"
|
||||
"net/eagle0/eagle/api"
|
||||
"net/eagle0/eagle/api/command/util"
|
||||
)
|
||||
|
||||
/bin/echo "Building C# protobuf sources..."
|
||||
bazel build "${TARGETS[@]}"
|
||||
|
||||
/bin/echo "Copying generated .cs files to $OUTPUT_DIR..."
|
||||
rm -rf "$OUTPUT_DIR"
|
||||
|
||||
for i in "${!TARGETS[@]}"; do
|
||||
target="${TARGETS[$i]}"
|
||||
subdir="${SUBDIRS[$i]}"
|
||||
|
||||
# Convert target label to bazel-bin path
|
||||
# //src/main/protobuf/net/eagle0/common:common_csharp_proto_srcs
|
||||
# -> bazel-bin/src/main/protobuf/net/eagle0/common/common_csharp_proto_srcs
|
||||
target_path="${target#//}"
|
||||
pkg="${target_path%%:*}"
|
||||
name="${target_path##*:}"
|
||||
bin_dir="$REPO_ROOT/bazel-bin/$pkg/$name"
|
||||
|
||||
dest_dir="$OUTPUT_DIR/$subdir"
|
||||
mkdir -p "$dest_dir"
|
||||
find "$bin_dir" -name "*.cs" -exec cp {} "$dest_dir/" \;
|
||||
done
|
||||
|
||||
/bin/echo "Done. Generated C# proto sources in $OUTPUT_DIR"
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33c3d3ae0724f43b6990a941f06026cd
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-170
@@ -1,170 +0,0 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETStandard,Version=v2.1/",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.1": {},
|
||||
".NETStandard,Version=v2.1/": {
|
||||
"protos/1.0.0": {
|
||||
"dependencies": {
|
||||
"Google.Protobuf": "3.20.1",
|
||||
"Grpc": "2.45.0",
|
||||
"Grpc.Tools": "2.45.0"
|
||||
},
|
||||
"runtime": {
|
||||
"protos.dll": {}
|
||||
}
|
||||
},
|
||||
"Google.Protobuf/3.20.1": {
|
||||
"dependencies": {
|
||||
"System.Memory": "4.5.3",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Google.Protobuf.dll": {
|
||||
"assemblyVersion": "3.20.1.0",
|
||||
"fileVersion": "3.20.1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Grpc/2.45.0": {
|
||||
"dependencies": {
|
||||
"Grpc.Core": "2.45.0"
|
||||
}
|
||||
},
|
||||
"Grpc.Core/2.45.0": {
|
||||
"dependencies": {
|
||||
"Grpc.Core.Api": "2.45.0",
|
||||
"System.Memory": "4.5.3"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Grpc.Core.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.45.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Grpc.Core.Api/2.45.0": {
|
||||
"dependencies": {
|
||||
"System.Memory": "4.5.3"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/Grpc.Core.Api.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.45.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Grpc.Tools/2.45.0": {},
|
||||
"System.Buffers/4.4.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Buffers.dll": {
|
||||
"assemblyVersion": "4.0.2.0",
|
||||
"fileVersion": "4.6.25519.3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"dependencies": {
|
||||
"System.Buffers": "4.4.0",
|
||||
"System.Numerics.Vectors": "4.4.0",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Memory.dll": {
|
||||
"assemblyVersion": "4.0.1.1",
|
||||
"fileVersion": "4.6.27617.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.dll": {
|
||||
"assemblyVersion": "4.1.3.0",
|
||||
"fileVersion": "4.6.25519.3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
|
||||
"assemblyVersion": "4.0.4.1",
|
||||
"fileVersion": "4.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"protos/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Google.Protobuf/3.20.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-+DhU0ijnnAdaYR+4yFMwOZ4jNv29cFb4OxT/qeU0t9OOxZCBjEcl22kgrYwqVDZ6/BUegG7EE7ghyuaAvsXXUQ==",
|
||||
"path": "google.protobuf/3.20.1",
|
||||
"hashPath": "google.protobuf.3.20.1.nupkg.sha512"
|
||||
},
|
||||
"Grpc/2.45.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Cn3WR6Zopok5BO3QkA24ByGgRZCDBJxmMKiGH9XuceFYSjGy5JyNK6gF4Ukn7e+K9FTKcOppRG0gQtVtTuulCg==",
|
||||
"path": "grpc/2.45.0",
|
||||
"hashPath": "grpc.2.45.0.nupkg.sha512"
|
||||
},
|
||||
"Grpc.Core/2.45.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Fu3XbHa2KIk2qDDtGZuKCLoiCD6+BgycyNP63WwOSRWyksf9e5cF3cPKplD6qP+6AaGqOG8rf41r7+vUqAKacg==",
|
||||
"path": "grpc.core/2.45.0",
|
||||
"hashPath": "grpc.core.2.45.0.nupkg.sha512"
|
||||
},
|
||||
"Grpc.Core.Api/2.45.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-S+jn8gPFjJW0jRrm4GZpalECsIjqqU/lG5bYg5P8vrCm8648JzDI4jZe2k6Ra24oVjXztJW0tX4zNKWnJC6ipA==",
|
||||
"path": "grpc.core.api/2.45.0",
|
||||
"hashPath": "grpc.core.api.2.45.0.nupkg.sha512"
|
||||
},
|
||||
"Grpc.Tools/2.45.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-89VbpPmPAvNXMuyPeG4UH8ze2+5sZKb9REUMGVM5iys+HpSoWfihdO2O17+NTtJs5GXtbjfxbDeE7ZzMHtXI4Q==",
|
||||
"path": "grpc.tools/2.45.0",
|
||||
"hashPath": "grpc.tools.2.45.0.nupkg.sha512"
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-AwarXzzoDwX6BgrhjoJsk6tUezZEozOT5Y9QKF94Gl4JK91I4PIIBkBco9068Y9/Dra8Dkbie99kXB8+1BaYKw==",
|
||||
"path": "system.buffers/4.4.0",
|
||||
"hashPath": "system.buffers.4.4.0.nupkg.sha512"
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
|
||||
"path": "system.memory/4.5.3",
|
||||
"hashPath": "system.memory.4.5.3.nupkg.sha512"
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==",
|
||||
"path": "system.numerics.vectors/4.4.0",
|
||||
"hashPath": "system.numerics.vectors.4.4.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.5.2",
|
||||
"hashPath": "system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c563090323e144a581af70a7a93ed31
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-33
@@ -1,33 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5234ff213ce2e4342a4b41ef347d3815
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -2,6 +2,7 @@ load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
|
||||
load("@grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
scala_proto_library(
|
||||
@@ -215,6 +216,19 @@ proto_library(
|
||||
visibility = ["//src/main/protobuf/net/eagle0:__subpackages__"],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "common_csharp_proto_srcs",
|
||||
protos = [
|
||||
":common_unit_proto",
|
||||
":game_setup_info_proto",
|
||||
":hostility_proto",
|
||||
":player_info_proto",
|
||||
":random_units_proto",
|
||||
":tutorial_battle_config_proto",
|
||||
":victory_condition_proto",
|
||||
],
|
||||
)
|
||||
|
||||
# keep: gazelle wants go_grpc_v2 and shardok_internal_interface_proto, but that breaks Go compilation
|
||||
# (go_grpc_v2 only generates _grpc.pb.go, not message types; shardok_internal_interface needs separate target)
|
||||
go_proto_library(
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_grpc_compile", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
# Auth service for OAuth login
|
||||
@@ -157,6 +158,24 @@ proto_library(
|
||||
],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "api_csharp_proto_srcs",
|
||||
protos = [
|
||||
":available_command_proto",
|
||||
":command_proto",
|
||||
":selected_command_proto",
|
||||
":streaming_text_response_proto",
|
||||
],
|
||||
)
|
||||
|
||||
csharp_grpc_compile(
|
||||
name = "api_csharp_grpc_srcs",
|
||||
protos = [
|
||||
":auth_grpc",
|
||||
":eagle_grpc",
|
||||
],
|
||||
)
|
||||
|
||||
# Non-gRPC message protos
|
||||
go_proto_library(
|
||||
name = "api_messages_go_proto",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
scala_proto_library(
|
||||
@@ -263,6 +264,24 @@ proto_library(
|
||||
deps = ["//src/main/protobuf/net/eagle0/eagle/common:province_order_type_proto"],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "util_csharp_proto_srcs",
|
||||
protos = [
|
||||
":appropriate_battalions_proto",
|
||||
":armed_battalion_proto",
|
||||
":army_stats_proto",
|
||||
":attack_decision_type_proto",
|
||||
":battalion_with_food_cost_proto",
|
||||
":captured_hero_option_proto",
|
||||
":control_weather_type_proto",
|
||||
":diplomacy_option_proto",
|
||||
":expanded_combat_unit_proto",
|
||||
":expanded_unaffiliated_hero_proto",
|
||||
":prisoner_management_type_proto",
|
||||
":province_orders_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "util_go_proto",
|
||||
importpath = "github.com/nolen777/eagle0/src/main/protobuf/net/eagle0/eagle/api/command/util",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
package(default_visibility = [
|
||||
@@ -342,6 +343,32 @@ proto_library(
|
||||
],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "common_csharp_proto_srcs",
|
||||
protos = [
|
||||
":action_result_notification_details_proto",
|
||||
":action_result_type_proto",
|
||||
":battalion_type_proto",
|
||||
":beast_info_proto",
|
||||
":chronicle_entry_proto",
|
||||
":combat_unit_proto",
|
||||
":command_type_proto",
|
||||
":date_proto",
|
||||
":diplomacy_offer_proto",
|
||||
":diplomacy_offer_status_proto",
|
||||
":gender_proto",
|
||||
":improvement_type_proto",
|
||||
":profession_proto",
|
||||
":province_event_proto",
|
||||
":province_order_type_proto",
|
||||
":recruitment_info_proto",
|
||||
":round_phase_proto",
|
||||
":tribute_amount_proto",
|
||||
":unaffiliated_hero_quest_proto",
|
||||
":unaffiliated_hero_type_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "common_go_proto",
|
||||
importpath = "github.com/nolen777/eagle0/src/main/protobuf/net/eagle0/eagle/common",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
scala_proto_library(
|
||||
@@ -250,6 +251,23 @@ proto_library(
|
||||
],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "views_csharp_proto_srcs",
|
||||
protos = [
|
||||
":action_result_view_proto",
|
||||
":army_view_proto",
|
||||
":battalion_view_proto",
|
||||
":faction_relationship_view_proto",
|
||||
":faction_view_proto",
|
||||
":game_state_view_proto",
|
||||
":hero_view_proto",
|
||||
":incoming_army_view_proto",
|
||||
":province_view_proto",
|
||||
":shardok_battle_view_proto",
|
||||
":stat_with_condition_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "views_go_proto",
|
||||
importpath = "github.com/nolen777/eagle0/src/main/protobuf/net/eagle0/eagle/views",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
scala_proto_library(
|
||||
@@ -138,6 +139,19 @@ proto_library(
|
||||
],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "api_csharp_proto_srcs",
|
||||
protos = [
|
||||
":action_result_view_proto",
|
||||
":command_descriptor_proto",
|
||||
":game_state_view_proto",
|
||||
":odds_view_proto",
|
||||
":placement_command_proto",
|
||||
":roll_request_proto",
|
||||
":unit_view_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "api_go_proto",
|
||||
importpath = "github.com/nolen777/eagle0/src/main/protobuf/net/eagle0/shardok/api",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
cc_proto_library(
|
||||
@@ -205,6 +206,25 @@ proto_library(
|
||||
],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "common_csharp_proto_srcs",
|
||||
protos = [
|
||||
":action_type_proto",
|
||||
":command_type_proto",
|
||||
":coords_proto",
|
||||
":game_status_proto",
|
||||
":hex_map_direction_proto",
|
||||
":hex_map_proto",
|
||||
":hostility_proto",
|
||||
":player_info_proto",
|
||||
":terrain_proto",
|
||||
":tile_modifier_proto",
|
||||
":tile_modifier_with_coords_proto",
|
||||
":victory_condition_proto",
|
||||
":weather_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "common_go_proto",
|
||||
importpath = "github.com/nolen777/eagle0/src/main/protobuf/net/eagle0/shardok/common",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
|
||||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load("@rules_proto_grpc_csharp//:defs.bzl", "csharp_proto_compile")
|
||||
load("@rules_scala//scala_proto:scala_proto.bzl", "scala_proto_library")
|
||||
|
||||
scala_proto_library(
|
||||
@@ -61,6 +62,15 @@ proto_library(
|
||||
visibility = ["//src/main/protobuf/net/eagle0/shardok:__subpackages__"],
|
||||
)
|
||||
|
||||
csharp_proto_compile(
|
||||
name = "storage_csharp_proto_srcs",
|
||||
protos = [
|
||||
":action_result_proto",
|
||||
":action_with_resulting_state_proto",
|
||||
":odds_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "storage_go_proto",
|
||||
importpath = "github.com/nolen777/eagle0/src/main/protobuf/net/eagle0/shardok/storage",
|
||||
|
||||
Reference in New Issue
Block a user