Class: Fastlane::Actions::ScanAction
Class Method Summary
collapse
action_name, authors, output, return_value, sh, step_text
Class Method Details
.author ⇒ Object
26
27
28
|
# File 'lib/fastlane/actions/scan.rb', line 26
def self.author
"KrauseFx"
end
|
.available_options ⇒ Object
30
31
32
33
|
# File 'lib/fastlane/actions/scan.rb', line 30
def self.available_options
require 'scan'
Scan::Options.available_options
end
|
.description ⇒ Object
18
19
20
|
# File 'lib/fastlane/actions/scan.rb', line 18
def self.description
"Easily test your app using `scan`"
end
|
.details ⇒ Object
22
23
24
|
# File 'lib/fastlane/actions/scan.rb', line 22
def self.details
"More information: https://github.com/fastlane/scan"
end
|
.is_supported?(platform) ⇒ Boolean
35
36
37
|
# File 'lib/fastlane/actions/scan.rb', line 35
def self.is_supported?(platform)
[:ios, :mac].include? platform
end
|
.run(values) ⇒ Object
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/fastlane/actions/scan.rb', line 4
def self.run(values)
require 'scan'
begin
FastlaneCore::UpdateChecker.start_looking_for_update('scan') unless Helper.is_test?
Scan::Manager.new.work(values)
true
ensure
FastlaneCore::UpdateChecker.show_update_status('scan', Scan::VERSION)
end
end
|