https://pantsbuild.org/ logo
r

red-balloon-89377

06/18/2019, 10:10 AM
Hi! you can use
sources = rglobs("foo/")
(reference: the last paragraph of this section: https://www.pantsbuild.org/build_files.html#sources). However, we highly highly encourage to have one BUILD file (and one target) per subdirectory (so one in
foo
, one in
foo/feature/
, one in
foo/data
, and include them in the targets defined in
foo/
via the
dependencies
field.
👍 2
a

able-farmer-8537

06/18/2019, 10:11 AM
thanks, that works