Skip to content

GitLab support #13

Description

@nedtwigg

To add GitLab support, you'll need to add a method to BlowdryerSetup similar to the github method:

/** Sets the source where we will grab these scripts. */
public void github(String repoOrg, GitAnchorType anchorType, String anchor) {
assertNoLeadingOrTrailingSlash(repoOrg);
assertNoLeadingOrTrailingSlash(anchor);
String root = "https://raw.githubusercontent.com/" + repoOrg + "/" + anchor + "/" + repoSubfolder + "/";
Blowdryer.setResourcePlugin(resource -> root + resource);
}

Activity

  1. vgropp commented on Feb 4, 2021

    @vgropp
    Contributor

    yes, i already found that, I will open the PR later today.

  2. nedtwigg commented on Feb 4, 2021

    @nedtwigg
    MemberAuthor
  3. nedtwigg commented on Feb 12, 2021

    @nedtwigg
    MemberAuthor

    Implemented in 1.1.0 thanks to @vgropp.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpr-welcomeExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions