Class: Fastlane::Actions::CaptureIosScreenshotsAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, authors, deprecated_notes, details, lane_context, method_missing, other_action, return_type, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.author ⇒ Object
37
38
39
|
# File 'fastlane/lib/fastlane/actions/capture_ios_screenshots.rb', line 37
def self.author
"KrauseFx"
end
|
.available_options ⇒ Object
25
26
27
28
29
|
# File 'fastlane/lib/fastlane/actions/capture_ios_screenshots.rb', line 25
def self.available_options
return [] unless Helper.mac?
require 'snapshot'
Snapshot::Options.available_options
end
|
.category ⇒ Object
56
57
58
|
# File 'fastlane/lib/fastlane/actions/capture_ios_screenshots.rb', line 56
def self.category
:screenshots
end
|
.description ⇒ Object
21
22
23
|
# File 'fastlane/lib/fastlane/actions/capture_ios_screenshots.rb', line 21
def self.description
"Generate new localized screenshots on multiple devices (via _snapshot_)"
end
|
.example_code ⇒ Object
45
46
47
48
49
50
51
52
53
54
|
# File 'fastlane/lib/fastlane/actions/capture_ios_screenshots.rb', line 45
def self.example_code
[
'capture_ios_screenshots',
'snapshot # alias for "capture_ios_screenshots"',
'capture_ios_screenshots(
skip_open_summary: true,
clean: true
)'
]
end
|
.is_supported?(platform) ⇒ Boolean
41
42
43
|
# File 'fastlane/lib/fastlane/actions/capture_ios_screenshots.rb', line 41
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
|
.output ⇒ Object
31
32
33
34
35
|
# File 'fastlane/lib/fastlane/actions/capture_ios_screenshots.rb', line 31
def self.output
[
['SNAPSHOT_SCREENSHOTS_PATH', 'The path to the screenshots']
]
end
|