class Fastlane::Actions::InstallTransporterAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/transporter/actions/install_transporter_action.rb, line 20
def self.authors
  ["Maksym Grebenets"]
end
available_options() click to toggle source
# File lib/fastlane/plugin/transporter/actions/install_transporter_action.rb, line 31
def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :source,
                            env_name: "INSTALL_TRANSPORTER_SOURCE",
                         description: "A path or URI to Transporter tarball or directory",
                       default_value: Transporter::DEFAULT_TRANSPORTER_SOURCE,
                                type: String),
    FastlaneCore::ConfigItem.new(key: :install_path,
                            env_name: "INSTALL_TRANSPORTER_INSTALL_PATH",
                         description: "Transporter install path",
                       default_value: Transporter::DEFAULT_TRANSPORTER_INSTALL_PATH,
                                type: String),
    FastlaneCore::ConfigItem.new(key: :overwrite,
                            env_name: "INSTALL_TRANSPORTER_OVERWRITE",
                         description: "Overwrite existing installation",
                       default_value: false,
                                type: Boolean)
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/transporter/actions/install_transporter_action.rb, line 16
def self.description
  "Install Apple iTMSTransporter"
end
details() click to toggle source
# File lib/fastlane/plugin/transporter/actions/install_transporter_action.rb, line 28
def self.details
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/transporter/actions/install_transporter_action.rb, line 51
def self.is_supported?(platform)
  [:ios, :mac].include?(platform)
end
return_value() click to toggle source
# File lib/fastlane/plugin/transporter/actions/install_transporter_action.rb, line 24
def self.return_value
  # If your method provides a return value, you can describe here what it does
end
run(params) click to toggle source
# File lib/fastlane/plugin/transporter/actions/install_transporter_action.rb, line 8
def self.run(params)
  Transporter.install(
    source: params[:source],
    install_path: params[:install_path],
    overwrite: params[:overwrite]
  )
end