Class: Fastlane::Actions::CheckAppStoreMetadataAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, author, deprecated_notes, lane_context, method_missing, other_action, output, return_type, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.authors ⇒ Object
30
31
32
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 30
def self.authors
["taquitos"]
end
|
.available_options ⇒ Object
21
22
23
24
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 21
def self.available_options
require 'precheck/options'
Precheck::Options.available_options
end
|
.category ⇒ Object
48
49
50
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 48
def self.category
:app_store_connect
end
|
.description ⇒ Object
13
14
15
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 13
def self.description
"Check your app's metadata before you submit your app to review (via _precheck_)"
end
|
.details ⇒ Object
17
18
19
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 17
def self.details
"More information: https://fastlane.tools/precheck"
end
|
.example_code ⇒ Object
38
39
40
41
42
43
44
45
46
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 38
def self.example_code
[
'check_app_store_metadata(
negative_apple_sentiment: [level: :skip], # Set to skip to not run the `negative_apple_sentiment` rule
curse_words: [level: :warn] # Set to warn to only warn on curse word check failures
)',
'precheck # alias for "check_app_store_metadata"'
]
end
|
.is_supported?(platform) ⇒ Boolean
34
35
36
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 34
def self.is_supported?(platform)
platform == :ios
end
|
.return_value ⇒ Object
26
27
28
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 26
def self.return_value
return "true if precheck passes, else, false"
end
|
.run(config) ⇒ Object
7
8
9
10
11
|
# File 'fastlane/lib/fastlane/actions/check_app_store_metadata.rb', line 7
def self.run(config)
require 'precheck'
Precheck.config = config
return Precheck::Runner.new.run
end
|