As per the docu:
If set, build will read patterns from the file named here, rather than on the command line. It is an error to specify a file here as well as command-line patterns.
Currently I load all my targets into a separate .bzl file that contains a dict of the same targets as my target file (with the proper configs)
Hi! First of all let me tell you your tool is very useful and I've been relying on it for all my c++ Bazel projects! :)
As far as I understood the
refresh_bazel_commands
requires a target list otherwise it will default to all the targets in the main workspace: hedronvision/bazel-compile-commands-extractor/refresh_compile_commands.bzl#L70I would like to use the
target_pattern_file
with the list of targets I want to build bazel.build/reference/command-line-reference#flag--target_pattern_fileAs per the docu:
If set, build will read patterns from the file named here, rather than on the command line. It is an error to specify a file here as well as command-line patterns.
Currently I load all my targets into a separate
.bzl
file that contains a dict of the same targets as my target file (with the proper configs)Is there a way of doing that?