Class: Fastlane::Actions::ScreenshotbotInstallerAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::ScreenshotbotInstallerAction
- Defined in:
- lib/fastlane/plugin/screenshotbot/actions/screenshotbot_installer_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
17 18 19 |
# File 'lib/fastlane/plugin/screenshotbot/actions/screenshotbot_installer_action.rb', line 17 def self. ["[email protected]"] end |
.available_options ⇒ Object
21 22 23 |
# File 'lib/fastlane/plugin/screenshotbot/actions/screenshotbot_installer_action.rb', line 21 def self. [] end |
.description ⇒ Object
13 14 15 |
# File 'lib/fastlane/plugin/screenshotbot/actions/screenshotbot_installer_action.rb', line 13 def self.description "Installs the screenshotbot runner" end |
.is_supported?(platform) ⇒ Boolean
25 26 27 |
# File 'lib/fastlane/plugin/screenshotbot/actions/screenshotbot_installer_action.rb', line 25 def self.is_supported?(platform) true end |
.run(params) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fastlane/plugin/screenshotbot/actions/screenshotbot_installer_action.rb', line 6 def self.run(params) command = "curl https://screenshotbot.io/recorder.sh | sh" Actions.sh(command) rescue StandardError => e UI.crash!("Error running Screenshotbot Installer: #{e.}") end |