-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use rules_multitool #161
Conversation
FYI @mark-thm |
So far this just replaces the most obvious subset of formatters that have four binaries for Mac/Linux x86_64/arm64. The pattern can be extended to provide more tools by default. We should NOT try to continue the pattern to anything that requires additional Bazel rules to provide a runtime, such as Prettier.
Oh there's still a bug in rules_multitool. I see that I'm downloading tools for all platforms rather than only for the host platform. @mark-thm want me to file an issue on the repo? |
@alexeagle it's unclear to me what the right behavior is here, but I threw together theoremlp/rules_multitool#12 as a candidate fix. |
it no longer fetches tools for all platforms"
That bug was fixed in theoremlp/rules_multitool#16 (thanks!) so this should be ready to go @jbedard |
Have you looked at the CI failures? |
You need 0.4.0 to resolve those (it contains the fix that allows you to have a top-level |
Suggestions from 1.0 API design review.
I'll followup with other provided tools in a subsequent PR after we are happy with the shape of this one.
Type of change
For changes visible to end-users
Test plan