fresh-cat-90827
02/14/2023, 5:39 PMfresh-cat-90827
02/14/2023, 5:39 PMfile
target in the BUILD file in each directory. I'd like to produce a package, say, `archive`:
archive(name="main-archive", format="tar", files=["helloworld::"])
that's illegal
UnsupportedWildcardError: The address `helloworld::` from the `files` from the target //:main-archive ended in a wildcard (`::`), which is not supported.
Is there a way to say "include all targets in a directory, recursively"? I could do a list
/ peek
and get all the targets of a particular type to be placed into the dependencies
field once. However, I'd need to update that list every time a new directory with a JSON file is added.fresh-cat-90827
02/14/2023, 5:41 PMfiles(sources=["**/*/*"]
does the trick so you can depend on a single target, however, that's too coarse-grained; having both file
in the subdirectory and all-covering files
leads to duplicate ownership, not ideal eithercurved-television-6568
02/14/2023, 5:42 PM