bazelbuild / bazelbuild/rules_pkg
pkg_tar with "include_runfiles = True" includes _main/app.exe in tarfile (exe is included twice)
Open
- Dominant language
- Starlark
- Stars
- 253
- Forks
- 221
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
I have the following pkt_tar in BUILD.bazel
```
pkg_tar(
name = "tarfile",
srcs = [
":openroad",
],
include_runfiles = True,
package_file_name = "openroad.tar",
)
```
The generated tarfile contains the binary "openroad" at root (as expected) plus the binary again at openroad.runfiles/_main/openroad.
The tarfile should only contain the binary at the root level.
Contributor guide
Assessment
This issue has not been assessed yet.