Class: Gym::Manager

Inherits:
Object
  • Object
show all
Defined in:
gym/lib/gym/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
20
# File 'gym/lib/gym/manager.rb', line 7

def work(options)
  Gym.config = options

  # Also print out the path to the used Xcode installation
  # We go 2 folders up, to not show "Contents/Developer/"
  values = Gym.config.values(ask: false)
  values[:xcode_path] = File.expand_path("../..", FastlaneCore::Helper.xcode_path)

  FastlaneCore::PrintTable.print_values(config: values,
                                     hide_keys: [],
                                         title: "Summary for gym #{Fastlane::VERSION}")

  return Runner.new.run
end