fastlane 2.186.0 → 2.187.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +86 -86
  3. data/fastlane/lib/fastlane/actions/create_keychain.rb +5 -2
  4. data/fastlane/lib/fastlane/actions/docs/build_app.md +1 -1
  5. data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +25 -26
  6. data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +2 -2
  7. data/fastlane/lib/fastlane/actions/docs/create_app_online.md +171 -67
  8. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +3 -4
  9. data/fastlane/lib/fastlane/actions/lcov.rb +0 -4
  10. data/fastlane/lib/fastlane/actions/mailgun.rb +21 -27
  11. data/fastlane/lib/fastlane/actions/make_changelog_from_jenkins.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/modify_services.rb +59 -24
  13. data/fastlane/lib/fastlane/actions/nexus_upload.rb +2 -2
  14. data/fastlane/lib/fastlane/actions/notarize.rb +1 -4
  15. data/fastlane/lib/fastlane/actions/number_of_commits.rb +1 -1
  16. data/fastlane/lib/fastlane/actions/oclint.rb +15 -14
  17. data/fastlane/lib/fastlane/actions/pod_push.rb +0 -2
  18. data/fastlane/lib/fastlane/actions/podio_item.rb +0 -7
  19. data/fastlane/lib/fastlane/actions/prompt.rb +3 -4
  20. data/fastlane/lib/fastlane/actions/push_git_tags.rb +1 -1
  21. data/fastlane/lib/fastlane/actions/puts.rb +1 -2
  22. data/fastlane/lib/fastlane/actions/register_devices.rb +0 -1
  23. data/fastlane/lib/fastlane/actions/reset_git_repo.rb +5 -8
  24. data/fastlane/lib/fastlane/actions/reset_simulator_contents.rb +0 -2
  25. data/fastlane/lib/fastlane/actions/resign.rb +2 -9
  26. data/fastlane/lib/fastlane/actions/rsync.rb +3 -6
  27. data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
  28. data/fastlane/lib/fastlane/actions/s3.rb +1 -1
  29. data/fastlane/lib/fastlane/actions/say.rb +2 -3
  30. data/fastlane/lib/fastlane/actions/scp.rb +4 -10
  31. data/fastlane/lib/fastlane/actions/set_build_number_repository.rb +1 -1
  32. data/fastlane/lib/fastlane/actions/set_changelog.rb +1 -1
  33. data/fastlane/lib/fastlane/actions/set_github_release.rb +2 -8
  34. data/fastlane/lib/fastlane/actions/set_info_plist_value.rb +1 -1
  35. data/fastlane/lib/fastlane/actions/set_pod_key.rb +3 -4
  36. data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -2
  37. data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +1 -1
  38. data/fastlane/lib/fastlane/actions/setup_jenkins.rb +7 -12
  39. data/fastlane/lib/fastlane/actions/setup_travis.rb +1 -1
  40. data/fastlane/lib/fastlane/actions/sh.rb +2 -4
  41. data/fastlane/lib/fastlane/actions/slack.rb +6 -8
  42. data/fastlane/lib/fastlane/actions/slather.rb +3 -19
  43. data/fastlane/lib/fastlane/actions/sonar.rb +12 -19
  44. data/fastlane/lib/fastlane/actions/sourcedocs.rb +62 -98
  45. data/fastlane/lib/fastlane/actions/splunkmint.rb +2 -2
  46. data/fastlane/lib/fastlane/actions/spm.rb +3 -3
  47. data/fastlane/lib/fastlane/actions/ssh.rb +5 -10
  48. data/fastlane/lib/fastlane/actions/testfairy.rb +0 -1
  49. data/fastlane/lib/fastlane/actions/tryouts.rb +2 -3
  50. data/fastlane/lib/fastlane/actions/twitter.rb +0 -5
  51. data/fastlane/lib/fastlane/actions/unlock_keychain.rb +3 -3
  52. data/fastlane/lib/fastlane/actions/update_app_group_identifiers.rb +1 -4
  53. data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +8 -15
  54. data/fastlane/lib/fastlane/actions/update_fastlane.rb +2 -2
  55. data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
  56. data/fastlane/lib/fastlane/version.rb +1 -1
  57. data/fastlane/swift/Deliverfile.swift +1 -1
  58. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  59. data/fastlane/swift/Fastlane.swift +57 -57
  60. data/fastlane/swift/Gymfile.swift +1 -1
  61. data/fastlane/swift/GymfileProtocol.swift +1 -1
  62. data/fastlane/swift/Matchfile.swift +1 -1
  63. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  64. data/fastlane/swift/Precheckfile.swift +1 -1
  65. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  66. data/fastlane/swift/Scanfile.swift +1 -1
  67. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  68. data/fastlane/swift/Screengrabfile.swift +1 -1
  69. data/fastlane/swift/ScreengrabfileProtocol.swift +4 -4
  70. data/fastlane/swift/Snapshotfile.swift +1 -1
  71. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  72. data/fastlane/swift/formatting/Brewfile.lock.json +11 -11
  73. data/produce/lib/produce/commands_generator.rb +99 -27
  74. data/produce/lib/produce/developer_center.rb +42 -4
  75. data/produce/lib/produce/options.rb +1 -1
  76. data/produce/lib/produce/service.rb +270 -179
  77. data/screengrab/lib/screengrab/android_environment.rb +2 -52
  78. data/screengrab/lib/screengrab/dependency_checker.rb +0 -20
  79. data/screengrab/lib/screengrab/options.rb +5 -2
  80. data/screengrab/lib/screengrab/runner.rb +108 -106
  81. data/snapshot/lib/assets/SnapfileTemplate +2 -1
  82. data/snapshot/lib/assets/SnapfileTemplate.swift +2 -1
  83. data/snapshot/lib/assets/SnapshotHelper.swift +14 -10
  84. data/snapshot/lib/snapshot/reports_generator.rb +3 -1
  85. data/snapshot/lib/snapshot/test_command_generator.rb +16 -2
  86. data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +8 -0
  87. data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +58 -17
  88. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +41 -1
  89. metadata +20 -21
  90. data/fastlane/lib/fastlane/helper/.git_helper.rb.swp +0 -0
@@ -30,7 +30,7 @@ module Fastlane
30
30
  FastlaneCore::ConfigItem.new(key: :force,
31
31
  env_name: "FL_SETUP_TRAVIS_FORCE",
32
32
  description: "Force setup, even if not executed by travis",
33
- is_string: false,
33
+ type: Boolean,
34
34
  default_value: false)
35
35
  ]
36
36
  end
@@ -24,17 +24,15 @@ module Fastlane
24
24
  [
25
25
  FastlaneCore::ConfigItem.new(key: :command,
26
26
  description: 'Shell command to be executed',
27
- optional: false,
28
- is_string: true),
27
+ optional: false),
29
28
  FastlaneCore::ConfigItem.new(key: :log,
30
29
  description: 'Determines whether fastlane should print out the executed command itself and output of the executed command. If command line option --troubleshoot is used, then it overrides this option to true',
31
30
  optional: true,
32
- is_string: false,
31
+ type: Boolean,
33
32
  default_value: true),
34
33
  FastlaneCore::ConfigItem.new(key: :error_callback,
35
34
  description: 'A callback invoked with the command output if there is a non-zero exit status',
36
35
  optional: true,
37
- is_string: false,
38
36
  type: :string_callback,
39
37
  default_value: nil)
40
38
  ]
@@ -195,7 +195,7 @@ module Fastlane
195
195
  env_name: "FL_SLACK_USE_WEBHOOK_CONFIGURED_USERNAME_AND_ICON",
196
196
  description: "Use webhook's default username and icon settings? (true/false)",
197
197
  default_value: false,
198
- is_string: false,
198
+ type: Boolean,
199
199
  optional: true),
200
200
  FastlaneCore::ConfigItem.new(key: :slack_url,
201
201
  env_name: "SLACK_URL",
@@ -208,19 +208,17 @@ module Fastlane
208
208
  env_name: "FL_SLACK_USERNAME",
209
209
  description: "Overrides the webhook's username property if use_webhook_configured_username_and_icon is false",
210
210
  default_value: "fastlane",
211
- is_string: true,
212
211
  optional: true),
213
212
  FastlaneCore::ConfigItem.new(key: :icon_url,
214
213
  env_name: "FL_SLACK_ICON_URL",
215
214
  description: "Overrides the webhook's image property if use_webhook_configured_username_and_icon is false",
216
215
  default_value: "https://fastlane.tools/assets/img/fastlane_icon.png",
217
- is_string: true,
218
216
  optional: true),
219
217
  FastlaneCore::ConfigItem.new(key: :payload,
220
218
  env_name: "FL_SLACK_PAYLOAD",
221
219
  description: "Add additional information to this post. payload must be a hash containing any key with any value",
222
220
  default_value: {},
223
- is_string: false),
221
+ type: Hash),
224
222
  FastlaneCore::ConfigItem.new(key: :default_payloads,
225
223
  env_name: "FL_SLACK_DEFAULT_PAYLOADS",
226
224
  description: "Specifies default payloads to include. Pass an empty array to suppress all the default payloads",
@@ -230,25 +228,25 @@ module Fastlane
230
228
  env_name: "FL_SLACK_ATTACHMENT_PROPERTIES",
231
229
  description: "Merge additional properties in the slack attachment, see https://api.slack.com/docs/attachments",
232
230
  default_value: {},
233
- is_string: false),
231
+ type: Hash),
234
232
  FastlaneCore::ConfigItem.new(key: :success,
235
233
  env_name: "FL_SLACK_SUCCESS",
236
234
  description: "Was this build successful? (true/false)",
237
235
  optional: true,
238
236
  default_value: true,
239
- is_string: false),
237
+ type: Boolean),
240
238
  FastlaneCore::ConfigItem.new(key: :fail_on_error,
241
239
  env_name: "FL_SLACK_FAIL_ON_ERROR",
242
240
  description: "Should an error sending the slack notification cause a failure? (true/false)",
243
241
  optional: true,
244
242
  default_value: true,
245
- is_string: false),
243
+ type: Boolean),
246
244
  FastlaneCore::ConfigItem.new(key: :link_names,
247
245
  env_name: "FL_SLACK_LINK_NAMES",
248
246
  description: "Find and link channel names and usernames (true/false)",
249
247
  optional: true,
250
248
  default_value: false,
251
- is_string: false)
249
+ type: Boolean)
252
250
  ]
253
251
  end
254
252
 
@@ -158,90 +158,76 @@ module Fastlane
158
158
  FastlaneCore::ConfigItem.new(key: :buildkite,
159
159
  env_name: "FL_SLATHER_BUILDKITE_ENABLED", # The name of the environment variable
160
160
  description: "Tell slather that it is running on Buildkite",
161
- is_string: false,
162
161
  type: Boolean,
163
162
  optional: true),
164
163
  FastlaneCore::ConfigItem.new(key: :teamcity,
165
164
  env_name: "FL_SLATHER_TEAMCITY_ENABLED", # The name of the environment variable
166
165
  description: "Tell slather that it is running on TeamCity",
167
- is_string: false,
168
166
  type: Boolean,
169
167
  optional: true),
170
168
  FastlaneCore::ConfigItem.new(key: :jenkins,
171
169
  env_name: "FL_SLATHER_JENKINS_ENABLED", # The name of the environment variable
172
170
  description: "Tell slather that it is running on Jenkins",
173
- is_string: false,
174
171
  type: Boolean,
175
172
  optional: true),
176
173
  FastlaneCore::ConfigItem.new(key: :travis,
177
174
  env_name: "FL_SLATHER_TRAVIS_ENABLED", # The name of the environment variable
178
175
  description: "Tell slather that it is running on TravisCI",
179
- is_string: false,
180
176
  type: Boolean,
181
177
  optional: true),
182
178
  FastlaneCore::ConfigItem.new(key: :travis_pro,
183
179
  env_name: "FL_SLATHER_TRAVIS_PRO_ENABLED", # The name of the environment variable
184
180
  description: "Tell slather that it is running on TravisCI Pro",
185
- is_string: false,
186
181
  type: Boolean,
187
182
  optional: true),
188
183
  FastlaneCore::ConfigItem.new(key: :circleci,
189
184
  env_name: "FL_SLATHER_CIRCLECI_ENABLED",
190
185
  description: "Tell slather that it is running on CircleCI",
191
- is_string: false,
192
186
  type: Boolean,
193
187
  optional: true),
194
188
  FastlaneCore::ConfigItem.new(key: :coveralls,
195
189
  env_name: "FL_SLATHER_COVERALLS_ENABLED",
196
190
  description: "Tell slather that it should post data to Coveralls",
197
- is_string: false,
198
191
  type: Boolean,
199
192
  optional: true),
200
193
  FastlaneCore::ConfigItem.new(key: :simple_output,
201
194
  env_name: "FL_SLATHER_SIMPLE_OUTPUT_ENABLED",
202
195
  description: "Tell slather that it should output results to the terminal",
203
- is_string: false,
204
196
  type: Boolean,
205
197
  optional: true),
206
198
  FastlaneCore::ConfigItem.new(key: :gutter_json,
207
199
  env_name: "FL_SLATHER_GUTTER_JSON_ENABLED",
208
200
  description: "Tell slather that it should output results as Gutter JSON format",
209
- is_string: false,
210
201
  type: Boolean,
211
202
  optional: true),
212
203
  FastlaneCore::ConfigItem.new(key: :cobertura_xml,
213
204
  env_name: "FL_SLATHER_COBERTURA_XML_ENABLED",
214
205
  description: "Tell slather that it should output results as Cobertura XML format",
215
- is_string: false,
216
206
  type: Boolean,
217
207
  optional: true),
218
208
  FastlaneCore::ConfigItem.new(key: :sonarqube_xml,
219
209
  env_name: "FL_SLATHER_SONARQUBE_XML_ENABLED",
220
210
  description: "Tell slather that it should output results as SonarQube Generic XML format",
221
- is_string: false,
222
211
  type: Boolean,
223
212
  optional: true),
224
213
  FastlaneCore::ConfigItem.new(key: :llvm_cov,
225
214
  env_name: "FL_SLATHER_LLVM_COV_ENABLED",
226
215
  description: "Tell slather that it should output results as llvm-cov show format",
227
- is_string: false,
216
+ type: Boolean,
228
217
  optional: true),
229
218
  FastlaneCore::ConfigItem.new(key: :json,
230
219
  env_name: "FL_SLATHER_JSON_ENABLED",
231
220
  description: "Tell slather that it should output results as static JSON report",
232
- is_string: false,
233
221
  type: Boolean,
234
222
  optional: true),
235
223
  FastlaneCore::ConfigItem.new(key: :html,
236
224
  env_name: "FL_SLATHER_HTML_ENABLED",
237
225
  description: "Tell slather that it should output results as static HTML pages",
238
- is_string: false,
239
226
  type: Boolean,
240
227
  optional: true),
241
228
  FastlaneCore::ConfigItem.new(key: :show,
242
229
  env_name: "FL_SLATHER_SHOW_ENABLED",
243
230
  description: "Tell slather that it should open static html pages automatically",
244
- is_string: false,
245
231
  type: Boolean,
246
232
  default_value: false),
247
233
  FastlaneCore::ConfigItem.new(key: :source_directory,
@@ -260,13 +246,11 @@ module Fastlane
260
246
  FastlaneCore::ConfigItem.new(key: :verbose,
261
247
  env_name: "FL_SLATHER_VERBOSE",
262
248
  description: "Tell slather to enable verbose mode",
263
- is_string: false,
264
249
  type: Boolean,
265
250
  optional: true),
266
251
  FastlaneCore::ConfigItem.new(key: :use_bundle_exec,
267
252
  env_name: "FL_SLATHER_USE_BUNDLE_EXEC",
268
253
  description: "Use bundle exec to execute slather. Make sure it is in the Gemfile",
269
- is_string: false,
270
254
  type: Boolean,
271
255
  default_value: false),
272
256
  FastlaneCore::ConfigItem.new(key: :binary_basename,
@@ -287,13 +271,13 @@ module Fastlane
287
271
  FastlaneCore::ConfigItem.new(key: :source_files,
288
272
  env_name: "FL_SLATHER_SOURCE_FILES",
289
273
  description: "A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode",
290
- is_string: false,
274
+ skip_type_validation: true, # skipping validation for backwards compatibility with Boolean type
291
275
  default_value: false,
292
276
  optional: true),
293
277
  FastlaneCore::ConfigItem.new(key: :decimals,
294
278
  env_name: "FL_SLATHER_DECIMALS",
295
279
  description: "The amount of decimals to use for % coverage reporting",
296
- is_string: false,
280
+ skip_type_validation: true, # allow Integer, String
297
281
  default_value: false,
298
282
  optional: true)
299
283
  ]
@@ -60,12 +60,12 @@ module Fastlane
60
60
  def self.available_options
61
61
  [
62
62
  FastlaneCore::ConfigItem.new(key: :project_configuration_path,
63
- env_name: "FL_SONAR_RUNNER_PROPERTIES_PATH",
64
- description: "The path to your sonar project configuration file; defaults to `sonar-project.properties`", # default is enforced by sonar-scanner binary
65
- optional: true,
66
- verify_block: proc do |value|
67
- UI.user_error!("Couldn't find file at path '#{value}'") unless value.nil? || File.exist?(value)
68
- end),
63
+ env_name: "FL_SONAR_RUNNER_PROPERTIES_PATH",
64
+ description: "The path to your sonar project configuration file; defaults to `sonar-project.properties`", # default is enforced by sonar-scanner binary
65
+ optional: true,
66
+ verify_block: proc do |value|
67
+ UI.user_error!("Couldn't find file at path '#{value}'") unless value.nil? || File.exist?(value)
68
+ end),
69
69
  FastlaneCore::ConfigItem.new(key: :project_key,
70
70
  env_name: "FL_SONAR_RUNNER_PROJECT_KEY",
71
71
  description: "The key sonar uses to identify the project, e.g. `name.gretzki.awesomeApp`. Must either be specified here or inside the sonar project configuration file",
@@ -102,38 +102,31 @@ module Fastlane
102
102
  env_name: "FL_SONAR_LOGIN",
103
103
  description: "Pass the Sonar Login token (e.g: xxxxxxprivate_token_XXXXbXX7e)",
104
104
  optional: true,
105
- is_string: true,
106
105
  sensitive: true),
107
106
  FastlaneCore::ConfigItem.new(key: :sonar_url,
108
107
  env_name: "FL_SONAR_URL",
109
108
  description: "Pass the url of the Sonar server",
110
- optional: true,
111
- is_string: true),
109
+ optional: true),
112
110
  FastlaneCore::ConfigItem.new(key: :sonar_organization,
113
111
  env_name: "FL_SONAR_ORGANIZATION",
114
112
  description: "Key of the organization on SonarCloud",
115
- optional: true,
116
- is_string: true),
113
+ optional: true),
117
114
  FastlaneCore::ConfigItem.new(key: :branch_name,
118
115
  env_name: "FL_SONAR_RUNNER_BRANCH_NAME",
119
116
  description: "Pass the branch name which is getting scanned",
120
- optional: true,
121
- is_string: true),
117
+ optional: true),
122
118
  FastlaneCore::ConfigItem.new(key: :pull_request_branch,
123
119
  env_name: "FL_SONAR_RUNNER_PULL_REQUEST_BRANCH",
124
120
  description: "The name of the branch that contains the changes to be merged",
125
- optional: true,
126
- is_string: true),
121
+ optional: true),
127
122
  FastlaneCore::ConfigItem.new(key: :pull_request_base,
128
123
  env_name: "FL_SONAR_RUNNER_PULL_REQUEST_BASE",
129
124
  description: "The long-lived branch into which the PR will be merged",
130
- optional: true,
131
- is_string: true),
125
+ optional: true),
132
126
  FastlaneCore::ConfigItem.new(key: :pull_request_key,
133
127
  env_name: "FL_SONAR_RUNNER_PULL_REQUEST_KEY",
134
128
  description: "Unique identifier of your PR. Must correspond to the key of the PR in GitHub or TFS",
135
- optional: true,
136
- is_string: true)
129
+ optional: true)
137
130
  ]
138
131
  end
139
132
 
@@ -34,104 +34,68 @@ module Fastlane
34
34
 
35
35
  def self.available_options
36
36
  [
37
- FastlaneCore::ConfigItem.new(
38
- key: :all_modules,
39
- env_name: 'FL_SOURCEDOCS_OUTPUT_ALL_MODULES',
40
- description: 'Generate documentation for all modules in a Swift package',
41
- type: Boolean,
42
- optional: true
43
- ),
44
- FastlaneCore::ConfigItem.new(
45
- key: :spm_module,
46
- env_name: 'FL_SOURCEDOCS_SPM_MODULE',
47
- description: 'Generate documentation for Swift Package Manager module',
48
- type: String,
49
- optional: true
50
- ),
51
- FastlaneCore::ConfigItem.new(
52
- key: :module_name,
53
- env_name: 'FL_SOURCEDOCS_MODULE_NAME',
54
- description: 'Generate documentation for a Swift module',
55
- type: String,
56
- optional: true
57
- ),
58
- FastlaneCore::ConfigItem.new(
59
- key: :link_beginning,
60
- env_name: 'FL_SOURCEDOCS_LINK_BEGINNING',
61
- description: 'The text to begin links with',
62
- type: String,
63
- optional: true
64
- ),
65
- FastlaneCore::ConfigItem.new(
66
- key: :link_ending,
67
- env_name: 'FL_SOURCEDOCS_LINK_ENDING',
68
- description: 'The text to end links with (default: .md)',
69
- type: String,
70
- optional: true
71
- ),
72
- FastlaneCore::ConfigItem.new(
73
- key: :output_folder,
74
- env_name: 'FL_SOURCEDOCS_OUTPUT_FOLDER',
75
- description: 'Output directory to clean (default: Documentation/Reference)',
76
- type: String,
77
- optional: false
78
- ),
79
- FastlaneCore::ConfigItem.new(
80
- key: :min_acl,
81
- env_name: 'FL_SOURCEDOCS_MIN_ACL',
82
- description: 'Access level to include in documentation [private, fileprivate, internal, public, open] (default: public)',
83
- type: String,
84
- optional: true
85
- ),
86
- FastlaneCore::ConfigItem.new(
87
- key: :module_name_path,
88
- env_name: 'FL_SOURCEDOCS_MODULE_NAME_PATH',
89
- description: 'Include the module name as part of the output folder path',
90
- type: Boolean,
91
- optional: true
92
- ),
93
- FastlaneCore::ConfigItem.new(
94
- key: :clean,
95
- env_name: 'FL_SOURCEDOCS_CLEAN',
96
- description: 'Delete output folder before generating documentation',
97
- type: Boolean,
98
- optional: true
99
- ),
100
- FastlaneCore::ConfigItem.new(
101
- key: :collapsible,
102
- env_name: 'FL_SOURCEDOCS_COLLAPSIBLE',
103
- description: 'Put methods, properties and enum cases inside collapsible blocks',
104
- type: Boolean,
105
- optional: true
106
- ),
107
- FastlaneCore::ConfigItem.new(
108
- key: :table_of_contents,
109
- env_name: 'FL_SOURCEDOCS_TABLE_OF_CONTENT',
110
- description: 'Generate a table of contents with properties and methods for each type',
111
- type: Boolean,
112
- optional: true
113
- ),
114
- FastlaneCore::ConfigItem.new(
115
- key: :reproducible,
116
- env_name: 'FL_SOURCEDOCS_REPRODUCIBLE',
117
- description: 'Generate documentation that is reproducible: only depends on the sources',
118
- type: Boolean,
119
- optional: true
120
- ),
121
- FastlaneCore::ConfigItem.new(
122
- key: :scheme,
123
- env_name: 'FL_SOURCEDOCS_SCHEME',
124
- description: 'Create documentation for specific scheme',
125
- type: String,
126
- optional: true
127
- ),
128
- FastlaneCore::ConfigItem.new(
129
- key: :sdk_platform,
130
- env_name: 'FL_SOURCEDOCS_SDK_PlATFORM',
131
- description: 'Create documentation for specific sdk platform',
132
- type: String,
133
- optional: true
134
- )
37
+ FastlaneCore::ConfigItem.new(key: :all_modules,
38
+ env_name: 'FL_SOURCEDOCS_OUTPUT_ALL_MODULES',
39
+ description: 'Generate documentation for all modules in a Swift package',
40
+ type: Boolean,
41
+ optional: true),
42
+ FastlaneCore::ConfigItem.new(key: :spm_module,
43
+ env_name: 'FL_SOURCEDOCS_SPM_MODULE',
44
+ description: 'Generate documentation for Swift Package Manager module',
45
+ optional: true),
46
+ FastlaneCore::ConfigItem.new(key: :module_name,
47
+ env_name: 'FL_SOURCEDOCS_MODULE_NAME',
48
+ description: 'Generate documentation for a Swift module',
49
+ optional: true),
50
+ FastlaneCore::ConfigItem.new(key: :link_beginning,
51
+ env_name: 'FL_SOURCEDOCS_LINK_BEGINNING',
52
+ description: 'The text to begin links with',
53
+ optional: true),
54
+ FastlaneCore::ConfigItem.new(key: :link_ending,
55
+ env_name: 'FL_SOURCEDOCS_LINK_ENDING',
56
+ description: 'The text to end links with (default: .md)',
57
+ optional: true),
58
+ FastlaneCore::ConfigItem.new(key: :output_folder,
59
+ env_name: 'FL_SOURCEDOCS_OUTPUT_FOLDER',
60
+ description: 'Output directory to clean (default: Documentation/Reference)',
61
+ optional: false),
62
+ FastlaneCore::ConfigItem.new(key: :min_acl,
63
+ env_name: 'FL_SOURCEDOCS_MIN_ACL',
64
+ description: 'Access level to include in documentation [private, fileprivate, internal, public, open] (default: public)',
65
+ optional: true),
66
+ FastlaneCore::ConfigItem.new(key: :module_name_path,
67
+ env_name: 'FL_SOURCEDOCS_MODULE_NAME_PATH',
68
+ description: 'Include the module name as part of the output folder path',
69
+ type: Boolean,
70
+ optional: true),
71
+ FastlaneCore::ConfigItem.new(key: :clean,
72
+ env_name: 'FL_SOURCEDOCS_CLEAN',
73
+ description: 'Delete output folder before generating documentation',
74
+ type: Boolean,
75
+ optional: true),
76
+ FastlaneCore::ConfigItem.new(key: :collapsible,
77
+ env_name: 'FL_SOURCEDOCS_COLLAPSIBLE',
78
+ description: 'Put methods, properties and enum cases inside collapsible blocks',
79
+ type: Boolean,
80
+ optional: true),
81
+ FastlaneCore::ConfigItem.new(key: :table_of_contents,
82
+ env_name: 'FL_SOURCEDOCS_TABLE_OF_CONTENT',
83
+ description: 'Generate a table of contents with properties and methods for each type',
84
+ type: Boolean,
85
+ optional: true),
86
+ FastlaneCore::ConfigItem.new(key: :reproducible,
87
+ env_name: 'FL_SOURCEDOCS_REPRODUCIBLE',
88
+ description: 'Generate documentation that is reproducible: only depends on the sources',
89
+ type: Boolean,
90
+ optional: true),
91
+ FastlaneCore::ConfigItem.new(key: :scheme,
92
+ env_name: 'FL_SOURCEDOCS_SCHEME',
93
+ description: 'Create documentation for specific scheme',
94
+ optional: true),
95
+ FastlaneCore::ConfigItem.new(key: :sdk_platform,
96
+ env_name: 'FL_SOURCEDOCS_SDK_PlATFORM',
97
+ description: 'Create documentation for specific sdk platform',
98
+ optional: true)
135
99
  ]
136
100
  end
137
101
 
@@ -101,13 +101,13 @@ module Fastlane
101
101
  FastlaneCore::ConfigItem.new(key: :verbose,
102
102
  env_name: "FL_SPLUNKMINT_VERBOSE",
103
103
  description: "Make detailed output",
104
- is_string: false,
104
+ type: Boolean,
105
105
  default_value: false,
106
106
  optional: true),
107
107
  FastlaneCore::ConfigItem.new(key: :upload_progress,
108
108
  env_name: "FL_SPLUNKMINT_UPLOAD_PROGRESS",
109
109
  description: "Show upload progress",
110
- is_string: false,
110
+ type: Boolean,
111
111
  default_value: false,
112
112
  optional: true),
113
113
  FastlaneCore::ConfigItem.new(key: :proxy_username,