Class: Gym::PackageCommandGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/gym/generators/package_command_generator.rb

Class Method Summary collapse

Class Method Details

.appfile_pathObject



19
20
21
# File 'lib/gym/generators/package_command_generator.rb', line 19

def appfile_path
  generator.appfile_path
end

.dsym_pathObject



28
29
30
# File 'lib/gym/generators/package_command_generator.rb', line 28

def dsym_path
  generator.dsym_path
end

.generateObject



15
16
17
# File 'lib/gym/generators/package_command_generator.rb', line 15

def generate
  generator.generate
end

.generatorObject

The generator we need to use for the currently used Xcode version



33
34
35
36
37
38
39
# File 'lib/gym/generators/package_command_generator.rb', line 33

def generator
  if Gym.config[:use_legacy_build_api]
    PackageCommandGeneratorLegacy
  else
    PackageCommandGeneratorXcode7
  end
end

.ipa_pathObject

The path in which the ipa file will be available after executing the command



24
25
26
# File 'lib/gym/generators/package_command_generator.rb', line 24

def ipa_path
  generator.ipa_path
end