bazelbuild / rules_pkg

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
Apache License 2.0
221 stars 174 forks source link

pkg_tar with include_runfiles won't accept a directory as a src #835

Closed ss185994 closed 6 months ago

ss185994 commented 6 months ago

As the title says when I try to include_runfiles in pkg_tar while passing a directory as a src I get the error IsADirectoryError: [Errno 21] Is a directory: 'bazel-out/k8-fastbuild/bin/src/bundle'

I made a sample repo https://github.com/ss185994/pkg_thing/tree/main

Is there a recommended flow for doing this?

dieortin commented 6 months ago

This should be solved by #830

ss185994 commented 6 months ago

@dieortin dang it Im blind thanks for the quick link

aiuto commented 6 months ago

closing as duplicate