Break targets that define srcs
as glob
or filegroup
into single-file targets
#198
Labels
Future Work Required
Used to mark tickets closed with `TODO` or `FIXME` in the merged code.
Milestone
There are some cases like this:
Where a single target globs all source files.
This does not help
bazel
to make the best decision about doing or not a re-build or a re-test of cached targets. Usually, this leadsbazel
to do more re-builds and re-tests than necessary.Ideally, each source code file should have its own target and be listed in the
deps
parameter of who depends on it.NOTE: same can be found in the CPP code, not only in Python targets.
The text was updated successfully, but these errors were encountered: