Sha256: f504e767505ee6b544c871dae2e5a4e54ba0b63d22a57be9622e14ffeda916c1

Contents?: true

Size: 1.11 KB

Versions: 47

Compression:

Stored size: 1.11 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 mac_installer_distribution)
  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)
    type = type.to_s
    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

47 entries across 47 versions & 1 rubygems

Version Path
fastlane-2.206.2 match/lib/match/module.rb
fastlane-2.206.1 match/lib/match/module.rb
fastlane-2.206.0 match/lib/match/module.rb
fastlane-2.205.2 match/lib/match/module.rb
fastlane-2.205.1 match/lib/match/module.rb
fastlane-2.205.0 match/lib/match/module.rb
fastlane-2.204.3 match/lib/match/module.rb
fastlane-2.204.2 match/lib/match/module.rb
fastlane-2.204.1 match/lib/match/module.rb
fastlane-2.204.0 match/lib/match/module.rb
fastlane-2.203.0 match/lib/match/module.rb
fastlane-2.202.0 match/lib/match/module.rb
fastlane-2.201.2 match/lib/match/module.rb
fastlane-2.201.1 match/lib/match/module.rb
fastlane-2.201.0 match/lib/match/module.rb
fastlane-2.201.0.rc3 match/lib/match/module.rb
fastlane-2.201.0.rc2 match/lib/match/module.rb
fastlane-2.201.0.rc1 match/lib/match/module.rb
fastlane-2.200.0 match/lib/match/module.rb
fastlane-2.199.0 match/lib/match/module.rb