BigW Consortium Gitlab

cartfile_linker.rb 323 Bytes
Newer Older
1 2 3 4 5 6 7 8
module Gitlab
  module DependencyLinker
    class CartfileLinker < MethodLinker
      self.file_type = :cartfile

      private

      def link_dependencies
9 10
        link_method_call('github', REPO_REGEX, &method(:github_url))
        link_method_call(%w[github git binary], URL_REGEX, &:itself)
11 12 13 14
      end
    end
  end
end