-
Notifications
You must be signed in to change notification settings - Fork 520
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
support binary files in generated_file_test #3184
Comments
We have The simplest answer is to use bazel-skylib directly. I added a |
thanks for the pointer. That works! |
🚀 feature request
Relevant Rules
generated_file_test
Description
We have the use case of checking in assets like fonts/png/tar files and it'd be great if
generated_file_test
supports binary files as well. Right now it reads file asutf-8
encoding and during write as well which messes stuff up.Happy to put in a PR if you want.
Describe the solution you'd like
generated_file_test
supports binary files as well.Describe alternatives you've considered
Write my own implementation?
The text was updated successfully, but these errors were encountered: