rules-proto-grpc / rules_proto_grpc

Bazel rules for building Protobuf and gRPC code and libraries from proto_library targets
https://rules-proto-grpc.com
Apache License 2.0
249 stars 156 forks source link

Building the rules on Windows platform without Bash shell installed #315

Open AlexanderGolovlev opened 3 months ago

AlexanderGolovlev commented 3 months ago

Description

Currently building the rules utilizes Bash shell commands. This requires installing the Bash shell on Windows platform (via MSYS2), and configuring it using shell_executable option or BAZEL_SH environment variable. However, the build environment on Windows may be not properly configured for Bash. The preferred approach is utilizing the native commands.

Suggested changes are shown in this pull request: https://github.com/rules-proto-grpc/rules_proto_grpc/pull/314

stakira commented 3 months ago

308 is an issue of the same cause but is much more awkward. The error message is super confusing and un-actionable.