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

genrule doc points to run_binary #16779

Closed
wants to merge 1 commit into from

Conversation

alexeagle
Copy link
Contributor

Many new usages of genrule should be avoided, as run_binary says:

Runs a binary as a build action. This rule does not require Bash (unlike native.genrule()).

Even when genrule starts hermetic, it's easy to accidentally grow into a longer bash script after subsequent changes.

Many new usages of `genrule` should be avoided, as `run_binary` says:
> Runs a binary as a build action. This rule does not require Bash (unlike native.genrule()).

Even when `genrule` starts hermetic, it's easy to accidentally grow into a longer bash script after subsequent changes.
@sgowroji sgowroji added team-Documentation Documentation improvements that cannot be directly linked to other team labels awaiting-review PR is awaiting review from an assigned reviewer labels Nov 17, 2022
@sgowroji sgowroji self-requested a review November 23, 2022 04:23
Copy link
Member

@sgowroji sgowroji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR.

@sgowroji sgowroji added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Nov 23, 2022
@sgowroji sgowroji removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants