Skip to content
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

Fix genrule usage with runfiles #95

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fmeum
Copy link

@fmeum fmeum commented Dec 5, 2024

Wrap tools with runfiles in shell/bat script that sets the runfiles variables if not set. This allows use of tools with runfiles without any manual setup.

TODO: This doesn't work for hermetic toolchains and/or tools in deps yet as the referenced dummy executable changes. I can look into fixing that if the general approach looks good to you.

@fmeum
Copy link
Author

fmeum commented Dec 5, 2024

FYI @aherrmann

@avdv avdv force-pushed the fix-runfiles-in-genrule branch from d3a3f7b to 8d69865 Compare December 11, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant