fastlane-plugin-test_center 3.11.0 → 3.11.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fe7c4581f1be17faf807466f1b9b82cf6ee917fef0695c861ef718417dc4c0d
4
- data.tar.gz: e0b966985549a444bfcafafa4926eb4f4927f6f43b12b39aa0b025c935e6b185
3
+ metadata.gz: cf0d31d514743d1748cdbf8667ddf5975c330a628063b8309666fe04968eddc4
4
+ data.tar.gz: dd66c49e0e92dd9582e78717f29910969ccdc2ae32c96f96f2872dba64c386cc
5
5
  SHA512:
6
- metadata.gz: f412ba3da2f63443923a94dec51b9f8bd7ed792ab98b4e0c1076fad2520e2a22eed74d3214cab40b36266c2fe35ca136194f4fdcd0e6d42c9730c80237fa0dff
7
- data.tar.gz: fc7cb57702c648d99079d092b03abf44726a7fe6ac229da7202d73fe745de3e7d33be40675d0b8f0ce2827fbb7cc314d335a2019163b6a675b4cd5177e5e711b
6
+ metadata.gz: 23a5978a4d537a3d72314e6e04a121c9a6638536038ad7c0c5f406755c2f01b9e66b2e9463df8d2350202d88ca1b4390d34890e0fc4827dbb62ee1f2aaa8b0d7
7
+ data.tar.gz: '08957a8d60fb41ef49276ab0fa5fec1a01c74160d09bac10a3b7a683af47d73aceebbeaeb250bdf3f561513c22abb0b7eca413e0ecadaf8153a53bf589b8fa9c'
data/README.md CHANGED
@@ -7,6 +7,8 @@
7
7
 
8
8
  Have you ever spent too much time trying to fix fragile tests only to give up with nothing real to show? Use the `fastlane` actions from `test_center` to remove the pain around your tests, so that you can focus on what makes 💰: features that customers love 😍.
9
9
 
10
+ > For those of you new to fastlane, I recommend that you read my article [Rescue Your Mobile Builds from Madness Using Fastlane](https://medium.com/appian-engineering/rescue-your-mobile-builds-from-madness-using-fastlane-cf123622f2d3).
11
+
10
12
  <p align="center">
11
13
  <a href="#features">Features</a> |
12
14
  <a href="#installation">Installation</a> |
@@ -21,7 +23,7 @@ Have you ever spent too much time trying to fix fragile tests only to give up wi
21
23
 
22
24
  ## Features
23
25
 
24
- This plugin makes testing your iOS app easier by providing you actions that give you greater control over everything related to testing your app.
26
+ This plugin makes testing your iOS app easier by providing you actions that give you greater control over everything related to testing your app.
25
27
 
26
28
  `multi_scan` began when I created an action to only re-run the failed tests in order to determine if they were truly failing, or if they were failing randomly due to a fragile infrastructure. This action morphed into an entire plugin with many actions in the testing category.
27
29
 
@@ -35,6 +37,8 @@ _read the documentation on each action by clicking on the action name_
35
37
  | [`suppress_tests_from_junit`](docs/feature_details/suppress_tests_from_junit.md) | suppress tests in an Xcode Scheme using those in a Junit test report | ios, mac |
36
38
  | [`suppress_tests`](docs/feature_details/suppress_tests.md) | suppress tests in an Xcode Scheme | ios, mac |
37
39
  | [`suppressed_tests`](docs/feature_details/suppressed_tests.md) | returns a list of the suppressed tests in your Xcode Project or Scheme | ios, mac |
40
+ | [`test_options_from_testplan`](docs/feature_details/test_options_from_testplan.md) | returns the tests and test code coverage configuration for a given testplan | ios, mac |
41
+ | [`testplans_from_scheme`](docs/feature_details/testplans_from_scheme.md) | returns the testplans that an Xcode Scheme references | ios, mac |
38
42
  | [`tests_from_junit`](docs/feature_details/tests_from_junit.md) | returns the passing and failing tests in a Junit test report | ios, mac |
39
43
  | [`tests_from_xctestrun`](docs/feature_details/tests_from_xctestrun.md) | returns a list of tests for each test target in a `xctestrun` file | ios, mac |
40
44
  | [`collate_junit_reports`](docs/feature_details/collate_junit_reports.md) | combines multiple Junit test reports into one report | ios, mac |
@@ -62,7 +66,7 @@ The most popular action in the `test_center` plugin is `multi_scan`, and if you
62
66
  multi_scan(
63
67
  project: File.absolute_path('../AtomicBoy/AtomicBoy.xcodeproj'),
64
68
  scheme: 'AtomicBoy',
65
- try_count: 3, # retry _failing_ tests up to three times^1.
69
+ try_count: 3, # retry _failing_ tests up to three times^1.
66
70
  fail_build: false,
67
71
  parallel_testrun_count: 4 # run subsets of your tests on parallel simulators^2
68
72
  )
@@ -232,7 +232,7 @@ module Fastlane
232
232
  end
233
233
 
234
234
  def self.prepare_scan_options_for_build_for_testing(scan_options)
235
- build_options = scan_options.merge(build_for_testing: true).reject { |k| %i[test_without_building, testplan].include?(k) }
235
+ build_options = scan_options.merge(build_for_testing: true).reject { |k| %i[test_without_building testplan include_simulator_logs].include?(k) }
236
236
  Scan.config = FastlaneCore::Configuration.create(
237
237
  Fastlane::Actions::ScanAction.available_options,
238
238
  ScanHelper.scan_options_from_multi_scan_options(build_options)
@@ -246,7 +246,7 @@ module Fastlane
246
246
  def self.update_xctestrun_after_build(scan_options)
247
247
  glob_pattern = "#{Scan.config[:derived_data_path]}/Build/Products/*.xctestrun"
248
248
  if scan_options[:testplan]
249
- glob_pattern = "#{Scan.config[:derived_data_path]}/Build/Products/*#{scan_options[:testplan]}*.xctestrun"
249
+ glob_pattern = "#{Scan.config[:derived_data_path]}/Build/Products/*_#{scan_options[:testplan]}_*.xctestrun"
250
250
  end
251
251
  xctestrun_files = Dir.glob(glob_pattern)
252
252
  UI.verbose("After building, found xctestrun files #{xctestrun_files} (choosing 1st)")
@@ -14,6 +14,7 @@ module Fastlane
14
14
  if test_target.key?('selectedTests')
15
15
  UI.verbose(" Found selectedTests")
16
16
  test_identifiers = test_target['selectedTests'].each do |selected_test|
17
+ selected_test.delete!('()')
17
18
  UI.verbose(" Found test: '#{selected_test}'")
18
19
  only_testing << "#{testable}/#{selected_test.sub('\/', '/')}"
19
20
  end
@@ -2,25 +2,15 @@ module Fastlane
2
2
  module Actions
3
3
  class TestplansFromSchemeAction < Action
4
4
  def self.run(params)
5
- scheme = params[:scheme]
6
- scheme_filepaths = schemes_from_project(params[:xcodeproj], scheme) || schemes_from_workspace(params[:workspace], scheme)
7
- if scheme_filepaths.length.zero?
8
- UI.user_error!("Error: cannot find any schemes in the Xcode project") if params[:xcodeproj]
9
- UI.user_error!("Error: cannot find any schemes in the Xcode workspace") if params[:workspace]
10
- end
5
+ scheme_filepaths = schemes(params)
11
6
  testplan_paths = []
12
7
  scheme_filepaths.each do |scheme_filepath|
13
8
  UI.verbose("Looking in Scheme '#{scheme_filepath}' for any testplans")
14
9
  xcscheme = Xcodeproj::XCScheme.new(scheme_filepath)
15
- next if xcscheme.test_action.nil?
16
- next if xcscheme.test_action.testables.to_a.empty?
17
- next if xcscheme.test_action.testables[0].buildable_references.to_a.empty?
18
- next if xcscheme.test_action.test_plans.to_a.empty?
19
-
20
- xcodeproj = xcscheme.test_action.testables[0].buildable_references[0].target_referenced_container.sub('container:', '')
21
- container_dir = scheme_filepath.sub(/#{xcodeproj}.*/, '')
10
+ next unless scheme_has_testplans?(xcscheme)
11
+ scheme_container_dir = File.absolute_path(scheme_filepath).sub(%r{/[^/]*\.(xcworkspace|xcodeproj)/.*}, '')
22
12
  xcscheme.test_action.test_plans.each do |testplan|
23
- testplan_path = File.absolute_path(File.join(container_dir, testplan.target_referenced_container.sub('container:', '')))
13
+ testplan_path = File.absolute_path(File.join(scheme_container_dir, testplan.target_referenced_container.sub('container:', '')))
24
14
  UI.verbose(" found testplan '#{testplan_path}'")
25
15
  testplan_paths << testplan_path
26
16
  end
@@ -28,6 +18,29 @@ module Fastlane
28
18
  testplan_paths
29
19
  end
30
20
 
21
+ def self.scheme_has_testplans?(xcscheme)
22
+ return !(
23
+ xcscheme.test_action.nil? ||
24
+ xcscheme.test_action.testables.to_a.empty? ||
25
+ xcscheme.test_action.testables[0].buildable_references.to_a.empty? ||
26
+ xcscheme.test_action.test_plans.to_a.empty?
27
+ )
28
+ end
29
+
30
+ def self.schemes(params)
31
+ scheme = params[:scheme]
32
+ scheme_filepaths = schemes_from_project(params[:xcodeproj], scheme) || schemes_from_workspace(params[:workspace], scheme)
33
+ if scheme_filepaths.length.zero?
34
+ scheme_detail_message = ''
35
+ if scheme
36
+ scheme_detail_message = "named '#{scheme}' "
37
+ end
38
+ UI.user_error!("Error: cannot find any schemes #{scheme_detail_message}in the Xcode project") if params[:xcodeproj]
39
+ UI.user_error!("Error: cannot find any schemes #{scheme_detail_message}in the Xcode workspace") if params[:workspace]
40
+ end
41
+ scheme_filepaths
42
+ end
43
+
31
44
  def self.schemes_from_project(project_path, scheme)
32
45
  return nil unless project_path
33
46
 
@@ -37,9 +50,16 @@ module Fastlane
37
50
  def self.schemes_from_workspace(workspace_path, scheme)
38
51
  return nil unless workspace_path
39
52
 
40
- xcworkspace = Xcodeproj::Workspace.new_from_xcworkspace(workspace_path)
41
53
  scheme_filepaths = []
42
- xcworkspace.file_references.each do |file_reference|
54
+ scheme_filepaths.concat(schemes_from_project(workspace_path, scheme))
55
+ return scheme_filepaths unless scheme_filepaths.empty?
56
+
57
+ xcworkspace = Xcodeproj::Workspace.new_from_xcworkspace(workspace_path)
58
+ xcodeprojects = xcworkspace.file_references.select do |file_reference|
59
+ file_reference.path.end_with?('xcodeproj')
60
+ end
61
+
62
+ xcodeprojects.each do |file_reference|
43
63
  next if file_reference.path.include?('Pods/Pods.xcodeproj')
44
64
 
45
65
  project_path = file_reference.absolute_path(File.dirname(workspace_path))
@@ -47,6 +47,11 @@ module TestCenter
47
47
  scan_config.set(k,v) unless v.nil?
48
48
  FastlaneCore::UI.verbose("\tSetting #{k.to_s} to #{v}")
49
49
  end
50
+ if @options[:scan_devices_override]
51
+ scan_device_names = @options[:scan_devices_override].map { |device| device.name }
52
+ FastlaneCore::UI.verbose("\tSetting Scan.devices to #{scan_device_names}")
53
+ Scan.devices.replace(@options[:scan_devices_override])
54
+ end
50
55
  end
51
56
 
52
57
  # :nocov:
@@ -45,7 +45,7 @@ module TestCenter
45
45
 
46
46
  derived_data_path = File.expand_path(@options[:derived_data_path] || Scan.config[:derived_data_path])
47
47
  xcresults = Dir.glob("#{derived_data_path}/Logs/Test/*.xcresult")
48
- if FastlaneCore::Helper.xcode_at_least?('11.0.0')
48
+ if FastlaneCore::Helper.xcode_at_least?('11')
49
49
  xcresults += Dir.glob("#{output_directory}/*.xcresult")
50
50
  end
51
51
  FastlaneCore::UI.verbose("Deleting xcresults:")
@@ -292,7 +292,7 @@ module TestCenter
292
292
  end
293
293
 
294
294
  def retrieve_test_operation_failure(test_session_last_messages)
295
- if FastlaneCore::Helper.xcode_at_least?(11)
295
+ if FastlaneCore::Helper.xcode_at_least?('11')
296
296
  retrieve_test_operation_failure_post_xcode11(test_session_last_messages)
297
297
  else
298
298
  retrieve_test_operation_failure_pre_xcode11(test_session_last_messages)
@@ -306,6 +306,8 @@ module TestCenter
306
306
  test_operation_failure = 'Test device locked'
307
307
  elsif /Test runner exited before starting test execution/ =~ test_session_last_messages
308
308
  test_operation_failure = 'Test runner exited before starting test execution'
309
+ else
310
+ test_operation_failure = 'Unknown test operation failure'
309
311
  end
310
312
  test_operation_failure
311
313
  end
@@ -335,8 +337,12 @@ module TestCenter
335
337
 
336
338
  glob_pattern = "#{output_directory}/system_logs-*.{log,logarchive}"
337
339
  logs = Dir.glob(glob_pattern)
340
+ batch_prefix = ''
341
+ if @options[:batch]
342
+ batch_prefix = "batch-#{@options[:batch]}-"
343
+ end
338
344
  logs.each do |log_filepath|
339
- new_logname = "try-#{testrun_count}-#{File.basename(log_filepath)}"
345
+ new_logname = "#{batch_prefix}try-#{testrun_count}-#{File.basename(log_filepath)}"
340
346
  new_log_filepath = "#{File.dirname(log_filepath)}/#{new_logname}"
341
347
  FastlaneCore::UI.verbose("Moving simulator log '#{log_filepath}' to '#{new_log_filepath}'")
342
348
  File.rename(log_filepath, new_log_filepath)
@@ -346,15 +352,17 @@ module TestCenter
346
352
  def move_test_result_bundle_for_next_run
347
353
  return unless @options[:result_bundle]
348
354
 
349
- glob_pattern = "#{output_directory}/*.test_result"
355
+ result_extension = FastlaneCore::Helper.xcode_at_least?('11') ? '.xcresult' : '.test_result'
356
+
357
+ glob_pattern = "#{output_directory}/*#{result_extension}"
350
358
  preexisting_test_result_bundles = Dir.glob(glob_pattern)
351
359
  unnumbered_test_result_bundles = preexisting_test_result_bundles.reject do |test_result|
352
- test_result =~ /.*-\d+\.test_result/
360
+ test_result =~ /.*-\d+\#{result_extension}/
353
361
  end
354
362
  src_test_bundle = unnumbered_test_result_bundles.first
355
363
  dst_test_bundle_parent_dir = File.dirname(src_test_bundle)
356
- dst_test_bundle_basename = File.basename(src_test_bundle, '.test_result')
357
- dst_test_bundle = "#{dst_test_bundle_parent_dir}/#{dst_test_bundle_basename}-#{@testrun_count}.test_result"
364
+ dst_test_bundle_basename = File.basename(src_test_bundle, result_extension)
365
+ dst_test_bundle = "#{dst_test_bundle_parent_dir}/#{dst_test_bundle_basename}-#{@testrun_count}#{result_extension}"
358
366
  FastlaneCore::UI.verbose("Moving test_result '#{src_test_bundle}' to '#{dst_test_bundle}'")
359
367
  File.rename(src_test_bundle, dst_test_bundle)
360
368
  end
@@ -224,8 +224,10 @@ module TestCenter
224
224
  src_xcresult_bundlepath = File.join(testable_output_dir, xcresult_bundlename)
225
225
  dst_xcresult_bundlepath = File.join(final_output_dir, xcresult_bundlename)
226
226
 
227
- # We do not need to merge if one of these do not exist
228
- return unless File.exist?(src_xcresult_bundlepath) || File.exist?(dst_xcresult_bundlepath)
227
+ # if there is no destination bundle to merge to, skip it as any source bundle will be copied when complete.
228
+ return if !File.exist?(dst_xcresult_bundlepath)
229
+ # if there is no source bundle to merge, skip it as there is nothing to merge.
230
+ return if !File.exist?(src_xcresult_bundlepath)
229
231
 
230
232
  config = FastlaneCore::Configuration.create(
231
233
  Fastlane::Actions::CollateXcresultsAction.available_options,
@@ -282,6 +284,9 @@ module TestCenter
282
284
  scheme: @options[:scheme],
283
285
  result_bundle: @options[:result_bundle]
284
286
  ).collate
287
+ logs_glog_pattern = "#{source_reports_directory_glob}/*system_logs-*.{log,logarchive}"
288
+ logs = Dir.glob(logs_glog_pattern)
289
+ FileUtils.mv(logs, absolute_output_directory)
285
290
  FileUtils.rm_rf(Dir.glob(source_reports_directory_glob))
286
291
  symlink_result_bundle_to_xcresult(absolute_output_directory, report_name_helper)
287
292
  true
@@ -12,34 +12,43 @@ module TestCenter
12
12
  end
13
13
  end
14
14
 
15
+ def simulator_matches_destination(simulator, destination)
16
+ match = destination.match(/id=(?<udid>[^,]+)/)
17
+ if match
18
+ found_match = (match[:udid] == simulator.udid)
19
+ else
20
+ match = destination.match(/name=(?<name>[^,]+)/)
21
+ name = match[:name] || ''
22
+ match = destination.match(/OS=(?<os_version>[^,]+)/)
23
+ os_version = match[:os_version] || ''
24
+
25
+ found_match = (name == simulator.name && os_version == simulator.os_version)
26
+ end
27
+ found_match
28
+ end
29
+
15
30
  def clone_destination_simulators
16
31
  cloned_simulators = []
17
32
 
18
33
  run_count = @options[:parallel_testrun_count] || 0
34
+ destinations = Scan.config[:destination].clone
19
35
  original_simulators = FastlaneCore::DeviceManager.simulators('iOS').find_all do |simulator|
20
- found_match = false
21
- Scan.config[:destination].each do |destination|
22
- match = destination.match(/id=(?<udid>[^,]+)/)
23
- if match
24
- found_match = (match[:udid] == simulator.udid)
25
- else
26
- match = destination.match(/name=(?<name>[^,]+)/)
27
- name = match[:name] || ''
28
- match = destination.match(/OS=(?<os_version>[^,]+)/)
29
- os_version = match[:os_version] || ''
30
-
31
- found_match = (name == simulator.name && os_version == simulator.os_version)
32
- end
36
+ found_simulator = destinations.find do |destination|
37
+ simulator_matches_destination(simulator, destination)
38
+ end
39
+ if found_simulator
40
+ destinations.delete(found_simulator)
33
41
  end
34
- found_match
42
+
43
+ !found_simulator.nil?
35
44
  end
36
45
  original_simulators.each(&:shutdown)
37
46
  (0...run_count).each do |batch_index|
38
47
  cloned_simulators << []
39
48
  original_simulators.each do |simulator|
40
- FastlaneCore::UI.verbose("Cloning simulator")
41
49
  cloned_simulator = simulator.clone
42
50
  new_first_name = simulator.name.sub(/( ?\(.*| ?$)/, " Clone #{batch_index + 1}")
51
+ FastlaneCore::UI.verbose("Cloned simulator #{simulator.name} to (name=#{new_first_name}, udid=#{cloned_simulator.udid}, OS=#{cloned_simulator.ios_version})")
43
52
  new_last_name = "#{self.class.name}<#{self.object_id}>"
44
53
  cloned_simulator.rename("#{new_first_name} #{new_last_name}")
45
54
 
@@ -46,6 +46,11 @@ module TestCenter
46
46
  end
47
47
  end
48
48
 
49
+ def simulator_devices_for_worker(worker_index)
50
+ return nil unless @options[:platform] == :ios_simulator
51
+ @clones[worker_index]
52
+ end
53
+
49
54
  def setup_parallel_workers
50
55
  setup_cloned_simulators
51
56
  desired_worker_count = @options[:parallel_testrun_count]
@@ -58,6 +63,7 @@ module TestCenter
58
63
  def parallel_scan_options(worker_index)
59
64
  options = @options.reject { |key| %i[device devices].include?(key) }
60
65
  options[:destination] = destination_for_worker(worker_index)
66
+ options[:scan_devices_override] = simulator_devices_for_worker(worker_index)
61
67
  options[:buildlog_path] = buildlog_path_for_worker(worker_index) if @options[:buildlog_path]
62
68
  options[:derived_data_path] = derived_data_path_for_worker(worker_index)
63
69
  options[:batch_index] = worker_index
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.11.0"
3
+ VERSION = "3.11.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-test_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.11.0
4
+ version: 3.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -270,7 +270,6 @@ files:
270
270
  - lib/fastlane/plugin/test_center/actions/test_options_from_testplan.rb
271
271
  - lib/fastlane/plugin/test_center/actions/testplans_from_scheme.rb
272
272
  - lib/fastlane/plugin/test_center/actions/tests_from_junit.rb
273
- - lib/fastlane/plugin/test_center/actions/tests_from_xcresult.rb
274
273
  - lib/fastlane/plugin/test_center/actions/tests_from_xctestrun.rb
275
274
  - lib/fastlane/plugin/test_center/helper/html_test_report.rb
276
275
  - lib/fastlane/plugin/test_center/helper/junit_helper.rb
@@ -1,82 +0,0 @@
1
- module Fastlane
2
- module Actions
3
- module SharedValues
4
- TESTS_FROM_XCRESULT_CUSTOM_VALUE = :TESTS_FROM_XCRESULT_CUSTOM_VALUE
5
- end
6
-
7
- class TestsFromXcresultAction < Action
8
- def self.run(params)
9
- # fastlane will take care of reading in the parameter and fetching the environment variable:
10
- UI.message "Parameter API Token: #{params[:api_token]}"
11
-
12
- # sh "shellcommand ./path"
13
-
14
- # Actions.lane_context[SharedValues::TESTS_FROM_XCRESULT_CUSTOM_VALUE] = "my_val"
15
- end
16
-
17
- #####################################################
18
- # @!group Documentation
19
- #####################################################
20
-
21
- def self.description
22
- "A short description with <= 80 characters of what this action does"
23
- end
24
-
25
- def self.details
26
- # Optional:
27
- # this is your chance to provide a more detailed description of this action
28
- "You can use this action to do cool things..."
29
- end
30
-
31
- def self.available_options
32
- # Define all options your action supports.
33
-
34
- # Below a few examples
35
- [
36
- FastlaneCore::ConfigItem.new(key: :api_token,
37
- env_name: "FL_TESTS_FROM_XCRESULT_API_TOKEN", # The name of the environment variable
38
- description: "API Token for TestsFromXcresultAction", # a short description of this parameter
39
- verify_block: proc do |value|
40
- UI.user_error!("No API token for TestsFromXcresultAction given, pass using `api_token: 'token'`") unless (value and not value.empty?)
41
- # UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
42
- end),
43
- FastlaneCore::ConfigItem.new(key: :development,
44
- env_name: "FL_TESTS_FROM_XCRESULT_DEVELOPMENT",
45
- description: "Create a development certificate instead of a distribution one",
46
- is_string: false, # true: verifies the input is a string, false: every kind of value
47
- default_value: false) # the default value if the user didn't provide one
48
- ]
49
- end
50
-
51
- def self.output
52
- # Define the shared values you are going to provide
53
- # Example
54
- [
55
- ['TESTS_FROM_XCRESULT_CUSTOM_VALUE', 'A description of what this value contains']
56
- ]
57
- end
58
-
59
- def self.return_value
60
- # If your method provides a return value, you can describe here what it does
61
- end
62
-
63
- def self.authors
64
- # So no one will ever forget your contribution to fastlane :) You are awesome btw!
65
- ["Your GitHub/Twitter Name"]
66
- end
67
-
68
- def self.is_supported?(platform)
69
- # you can do things like
70
- #
71
- # true
72
- #
73
- # platform == :ios
74
- #
75
- # [:ios, :mac].include?(platform)
76
- #
77
-
78
- platform == :ios
79
- end
80
- end
81
- end
82
- end