Sha256: 6c48be9290c1cf0f3b29bfbe57767c5d7c8680d0ca5dc8199df4cc3371f9d484

Contents?: true

Size: 1.06 KB

Versions: 49

Compression:

Stored size: 1.06 KB

Contents

require 'fastlane_core/helper'
require 'fastlane/boolean'

module Match
  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
  UI = FastlaneCore::UI
  Boolean = Fastlane::Boolean
  ROOT = Pathname.new(File.expand_path('../../..', __FILE__))
  DESCRIPTION = "Easily sync your certificates and profiles across your team"

  def self.environments
    return %w(appstore adhoc development enterprise developer_id)
  end

  def self.storage_modes
    return %w(git google_cloud s3)
  end

  def self.profile_type_sym(type)
    return type.to_sym
  end

  def self.cert_type_sym(type)
    return :mac_installer_distribution if type == "mac_installer_distribution"
    return :developer_id_installer if type == "developer_id_installer"
    return :developer_id_application if type == "developer_id"
    return :enterprise if type == "enterprise"
    return :development if type == "development"
    return :distribution if ["adhoc", "appstore", "distribution"].include?(type)
    raise "Unknown cert type: '#{type}'"
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
fastlane-2.167.0 match/lib/match/module.rb
fastlane-2.166.0 match/lib/match/module.rb
fastlane-2.165.0 match/lib/match/module.rb
fastlane-2.164.0 match/lib/match/module.rb
fastlane-2.163.0 match/lib/match/module.rb
fastlane-2.162.0 match/lib/match/module.rb
fastlane-2.161.0 match/lib/match/module.rb
fastlane-2.160.0 match/lib/match/module.rb
fastlane-2.159.0 match/lib/match/module.rb
fastlane-2.158.0 match/lib/match/module.rb
fastlane-2.157.4 match/lib/match/module.rb
fastlane-2.157.3 match/lib/match/module.rb
fastlane-2.157.2 match/lib/match/module.rb
fastlane-2.157.1 match/lib/match/module.rb
fastlane-2.157.0 match/lib/match/module.rb
fastlane-2.156.1 match/lib/match/module.rb
fastlane-2.156.0 match/lib/match/module.rb
fastlane-2.155.3 match/lib/match/module.rb
fastlane-2.155.2 match/lib/match/module.rb
fastlane-2.155.1 match/lib/match/module.rb