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

format: only sort tag parameter below name for built-in rules #3036

Conversation

chrisnovakovic
Copy link
Contributor

Turns out tag is quite a common parameter name for custom build rules. We only want it to sort below name in cases where the parameter's value is actually part of the target name, i.e. for the Please built-ins build_rule and filegroup. In all other cases, it should sort alphabetically with the unprioritised parameters.

Turns out `tag` is quite a common parameter name for custom build rules.
We only want it to sort below `name` in cases where the parameter's
value is actually part of the target name, i.e. for the Please built-ins
`build_rule` and `filegroup`. In all other cases, it should sort
alphabetically with the unprioritised parameters.
@chrisnovakovic chrisnovakovic merged commit 6119b65 into thought-machine:master Jan 11, 2024
14 checks passed
@chrisnovakovic chrisnovakovic deleted the tag-param-priority-builtins branch January 11, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants