Sha256: 114a9a57928c9a68384c67df5ff10a311930c3608f9dc4b0d4c8cf2bba9b2312

Contents?: true

Size: 1.09 KB

Versions: 11

Compression:

Stored size: 1.09 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)
    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

11 entries across 11 versions & 1 rubygems

Version Path
fastlane-2.178.0 match/lib/match/module.rb
fastlane-2.177.0 match/lib/match/module.rb
fastlane-2.176.0 match/lib/match/module.rb
fastlane-2.175.0 match/lib/match/module.rb
fastlane-2.174.0 match/lib/match/module.rb
fastlane-2.173.0 match/lib/match/module.rb
fastlane-2.172.0 match/lib/match/module.rb
fastlane-2.171.0 match/lib/match/module.rb
fastlane-2.170.0 match/lib/match/module.rb
fastlane-2.169.0 match/lib/match/module.rb
fastlane-2.168.0 match/lib/match/module.rb