aspect-build / rules_lint

Run static analysis tools with Bazel
Apache License 2.0
65 stars 37 forks source link

[Bug]: Various issues running examples on windows #294

Open peakschris opened 1 month ago

peakschris commented 1 month ago

What happened?

There are various issues when running the example repo on Windows. It would be nice to fix these and give a better starting experience.

Various linters/formatters don't work:

Issues due to lack of windows support in other bazel modules

Issues local to examples repo

Version

Development (host) and target OS/architectures:

Output of bazel --version:

7.1.1

Version of the Aspect rules, or other relevant rules from your WORKSPACE or MODULE.bazel file:

rules_lint latest

Language(s) and/or frameworks involved:

all

How to reproduce

Clone repo on windows
cd example
set BAZEL_SH=c:\msys64\usr\bin\bash.exe
get jq.exe
bazel test //...

Any other information?

No response

peakschris commented 1 month ago

multitool PR: https://github.com/theoremlp/rules_multitool/pull/45 toolchains_llvm PR: https://github.com/bazel-contrib/toolchains_llvm/pull/342

peakschris commented 4 weeks ago

rules_multirun issue: https://github.com/keith/rules_multirun/issues/56