Class: Fastlane::Actions::InstallTransporterAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::InstallTransporterAction
- Defined in:
- lib/fastlane/plugin/transporter/actions/install_transporter_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .return_value ⇒ Object
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
20 21 22 |
# File 'lib/fastlane/plugin/transporter/actions/install_transporter_action.rb', line 20 def self. ["Maksym Grebenets"] end |
.available_options ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/fastlane/plugin/transporter/actions/install_transporter_action.rb', line 31 def self. [ 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 ⇒ Object
16 17 18 |
# File 'lib/fastlane/plugin/transporter/actions/install_transporter_action.rb', line 16 def self.description "Install Apple iTMSTransporter" end |
.details ⇒ Object
28 29 |
# File 'lib/fastlane/plugin/transporter/actions/install_transporter_action.rb', line 28 def self.details end |
.is_supported?(platform) ⇒ Boolean
51 52 53 |
# File 'lib/fastlane/plugin/transporter/actions/install_transporter_action.rb', line 51 def self.is_supported?(platform) [:ios, :mac].include?(platform) end |
.return_value ⇒ Object
24 25 26 |
# 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) ⇒ Object
8 9 10 11 12 13 14 |
# 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 |