Closed JasonLunn closed 8 months ago
@yugui @kigster - the CircleCI failures all look like they're permissions-related... is there something I can do to fix that in my branch, or is that something that needs to be addressed on the infrastructure side?
@JasonLunn is this PR identical to #142?
If so I might prefer it due to using of cleanpath
.
They're definitely similar. I tried to minimize the touching the existing support for relative paths. My own habits would be to introduce the use of cleanpath
separately, since that really doesn't have anything to do with handling absolute paths. As long as some fix gets merged, I don't feel strongly either way.
Gems with native extensions (like ffi) will sometimes have elements of
require_paths
that are absolute rather than gem-path relative paths. It is incorrect to prepend those paths with the gem_path and Bazel will only allow relative paths as inputs to its glob() function, so they must be transformed to relative paths before being emitted.