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.155.0 match/lib/match/module.rb
fastlane-2.154.0 match/lib/match/module.rb
fastlane-2.153.1 match/lib/match/module.rb
fastlane-2.153.0 match/lib/match/module.rb
fastlane-2.152.0 match/lib/match/module.rb
fastlane-2.151.2 match/lib/match/module.rb
fastlane-2.151.1 match/lib/match/module.rb
fastlane-2.151.0 match/lib/match/module.rb
fastlane-2.150.3 match/lib/match/module.rb
fastlane-2.150.2 match/lib/match/module.rb
fastlane-2.150.1 match/lib/match/module.rb
fastlane-2.150.0 match/lib/match/module.rb
fastlane-2.150.0.rc7 match/lib/match/module.rb
fastlane-2.150.0.rc6 match/lib/match/module.rb
fastlane-2.150.0.rc5 match/lib/match/module.rb
fastlane-2.150.0.rc4 match/lib/match/module.rb
fastlane-2.150.0.rc3 match/lib/match/module.rb
fastlane-2.150.0.rc2 match/lib/match/module.rb
fastlane-2.150.0.rc1 match/lib/match/module.rb
fastlane-2.149.1 match/lib/match/module.rb