Closed njlr closed 10 months ago
files
is a deprecated feature. It's insufficient for so many cases and only works with tar. You could use 2 pkg_files
targets to take the same input and put it in to distinct output paths, then have those as input to the pkg_tar
target.
Closing because there is no way to change this silly behavior without breaking everyone who uses it and there are other ways to accomplish the desired effect.
Currently,
pkg_tar
works with the keys as the source-files and the values as the paths in the tar:However, this makes little sense, since the file path must be unique, but plausibly the same input could be included twice.
The key-value semantics should be flipped: