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

Automatically map paths in Args#map_each #19723

Closed
wants to merge 2 commits into from

Commits on Mar 8, 2024

  1. Automatically map paths in Args#map_each

    When path mapping is enabled, `File` objects accessed in a
    user-supplied callback passed to `Args#map_each` automatically have
    their paths mapped.
    
    Automatic rewriting is preferable to e.g. passing a rewriter object into
    the callback: All paths emitted into command lines must be rewritten
    with path mapping as inputs and outputs are staged at the mapped
    locations, so the user would need to manually map all paths - there is
    no choice. As an added benefit, the automatic rewriting ensures that
    existing rules relying on `map_each` do not need to be modified to use
    path mapping.
    fmeum committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    2c83949 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Configuration menu
    Copy the full SHA
    df5ec8b View commit details
    Browse the repository at this point in the history