Class: Scan::Manager

Inherits:
Object
  • Object
show all
Defined in:
scan/lib/scan/manager.rb

Instance Method Summary collapse

Instance Method Details

#work(options) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'scan/lib/scan/manager.rb', line 7

def work(options)
  Scan.config = options

  # Also print out the path to the used Xcode installation
  # We go 2 folders up, to not show "Contents/Developer/"
  values = Scan.config.values(ask: false)
  values[:xcode_path] = File.expand_path("../..", FastlaneCore::Helper.xcode_path)
  FastlaneCore::PrintTable.print_values(config: values,
                                     hide_keys: [:destination, :slack_url],
                                         title: "Summary for scan #{Fastlane::VERSION}")

  return Runner.new.run
end