Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add $(rlocationpath(s) ...) expansion #16428

Closed
wants to merge 1 commit into from

Commits on Oct 26, 2022

  1. Add $(rlocationpath(s) ...) expansion

    The new location expansion pattern `rlocationpath` and its plural
    version `rlocationpaths` resolve to the path(s) suitable for the
    Rlocation function offered by runfiles libraries.
    
    Compared to the `rootpath` pattern, which can returns
    '../repo_name/pkg/file` for a file in an external repository and
    `pkg/file` for a file in the main repository, the path returned by
    `rlocationpath` is always of the form `repo_name/pkg/file`.
    
    Work towards bazelbuild#16124
    Fixes bazelbuild#10923
    fmeum committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    cb3c0cb View commit details
    Browse the repository at this point in the history