Class: Gym::PackageCommandGenerator

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

Class Method Summary collapse

Class Method Details

.app_thinning_pathObject



36
37
38
# File 'lib/gym/generators/package_command_generator.rb', line 36

def app_thinning_path
  generator.app_thinning_path
end

.app_thinning_size_report_pathObject



40
41
42
# File 'lib/gym/generators/package_command_generator.rb', line 40

def app_thinning_size_report_path
  generator.app_thinning_size_report_path
end

.appfile_pathObject



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

def appfile_path
  generator.appfile_path
end

.apps_pathObject



44
45
46
# File 'lib/gym/generators/package_command_generator.rb', line 44

def apps_path
  generator.apps_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



49
50
51
52
53
54
55
# File 'lib/gym/generators/package_command_generator.rb', line 49

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

.manifest_pathObject



32
33
34
# File 'lib/gym/generators/package_command_generator.rb', line 32

def manifest_path
  generator.manifest_path
end