You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a ticket based on a recent comment in a past closed ticket.
Was wondering if there is example usage for refresh_compile_commands with a targetsselect. As stated in the mentioned comment, I am a Bazel n00b so it might not be possible.
Fundamentally I am looking for a way to pass an argument (target package) to the root refresh_compile_commands.
With command line usage of: bazel run :refresh_comp_cmds --define target=//my_pkg:my_target.
When I try the above I run into the following error:
ERROR: Traceback (most recent call last):
File "/.../BUILD", line 21, column 25, in <toplevel>
refresh_compile_commands(
File "/.../external/hedron_compile_commands/refresh_compile_commands.bzl", line 82, column 37, in refresh_compile_commands
for target, flags in targets.items()
Error: 'select' value has no field or method 'items'
Please let me know if moving the comment to a ticket was acceptable.
Appreciate the help and cheers!
The text was updated successfully, but these errors were encountered:
Creating a ticket based on a recent comment in a past closed ticket.
Was wondering if there is example usage for
refresh_compile_commands
with atargets
select
. As stated in the mentioned comment, I am a Bazel n00b so it might not be possible.Fundamentally I am looking for a way to pass an argument (target package) to the root
refresh_compile_commands
.Something like:
With command line usage of:
bazel run :refresh_comp_cmds --define target=//my_pkg:my_target
.When I try the above I run into the following error:
Please let me know if moving the comment to a ticket was acceptable.
Appreciate the help and cheers!
The text was updated successfully, but these errors were encountered: