-
Notifications
You must be signed in to change notification settings - Fork 426
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 empty package()
calls appearing in non-BUILD files
#1150
Conversation
Edit: Noticed that per-file commands always skip per-target processing. |
is there precedent for editing other non-BUILD files? I find the syntax |
|
Did you maybe mean |
Caused by bazelbuild@9c3c1fc, but only relevant if users use the target `__pkg__` to skip target-level processing for non-BUILD files.
From the point of view of buildozer, all calls are rules and all rules are the same. As long as your tags have a
But having anything in |
Ah I see. I guess my main gripe is that I think I'd prefer a special syntax, something like |
@vladmos Could you take a look at this fix? I would submit a separate PR that proposes special syntax to identify the |
…1150) * Fix empty `package()` calls appearing in non-BUILD files Caused by bazelbuild@9c3c1fc, but only relevant if users use the target `__pkg__` to skip target-level processing for non-BUILD files.
Caused by 9c3c1fc, but only relevant if users use the pseudo-target
__pkg__
with non-BUILD files as recommended for file-level operations.Work towards #1149
Work towards bazelbuild/bazel#17908