Skip to content

Possibility to cut parts of the target subdirectory tree #14

Open
@Tyrben

Description

I see that the vendor sources are stored under vendor/github.com/brettlangdon/forge (if I retake from the example).
The related source code is:

dir="$prefix/$(echo "$repository" | sed -E 's/^[a-zA-Z]+((:\/\/)|@)//' | sed 's/:/\//' | sed -E 's/\.git$//')"

Would it be possible to inhibate or control it to obtain something shorter like (as will):
vendor/forge
?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions