Class: Fastlane::Actions::ResetSimulatorsAction

Inherits:
Fastlane::Action show all
Defined in:
lib/fastlane/actions/reset_simulators.rb

Constant Summary

Constants inherited from Fastlane::Action

Fastlane::Action::AVAILABLE_CATEGORIES

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, author, details, lane_context, method_missing, other_action, sample_return_value, sh, step_text

Class Method Details

.authorsObject



25
26
27
# File 'lib/fastlane/actions/reset_simulators.rb', line 25

def self.authors
  ["danramteke"]
end

.available_optionsObject



13
14
15
# File 'lib/fastlane/actions/reset_simulators.rb', line 13

def self.available_options
  []
end

.categoryObject



39
40
41
# File 'lib/fastlane/actions/reset_simulators.rb', line 39

def self.category
  :misc
end

.descriptionObject



9
10
11
# File 'lib/fastlane/actions/reset_simulators.rb', line 9

def self.description
  "Shutdown and reset running simulators"
end

.example_codeObject



33
34
35
36
37
# File 'lib/fastlane/actions/reset_simulators.rb', line 33

def self.example_code
  [
    'reset_simulators'
  ]
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/fastlane/actions/reset_simulators.rb', line 29

def self.is_supported?(platform)
  platform == :ios
end

.outputObject



17
18
19
# File 'lib/fastlane/actions/reset_simulators.rb', line 17

def self.output
  nil
end

.return_valueObject



21
22
23
# File 'lib/fastlane/actions/reset_simulators.rb', line 21

def self.return_value
  nil
end

.run(params) ⇒ Object



4
5
6
7
# File 'lib/fastlane/actions/reset_simulators.rb', line 4

def self.run(params)
  FastlaneCore::Simulator.reset_all
  UI.success('Simulators reset')
end