Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cartfile_linker.rb « dependency_linker « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4f69f2c4ab269de654cc34955f2dce6c1dcdcde2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Gitlab
  module DependencyLinker
    class CartfileLinker < MethodLinker
      self.file_type = :cartfile

      private

      def link_dependencies
        link_method_call('github', REPO_REGEX, &method(:github_url))
        link_method_call(%w[github git binary], URL_REGEX, &:itself)
      end
    end
  end
end