Sha256: 3ac3c1a0a8bc666b35ed285559e3a9b8647ecc005fa9754df24c28fdb95bda0d

Contents?: true

Size: 1.24 KB

Versions: 243

Compression:

Stored size: 1.24 KB

Contents

# encoding: utf-8

# from https://stackoverflow.com/a/9857493/445598
# because of
# `incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityError)`

require 'shellwords'

# The concrete implementations
require 'gym/generators/package_command_generator_xcode7'

module Gym
  class PackageCommandGenerator
    class << self
      def generate
        generator.generate
      end

      def appfile_path
        generator.appfile_path
      end

      # The path in which the ipa file will be available after executing the command
      def ipa_path
        generator.ipa_path
      end

      def dsym_path
        generator.dsym_path
      end

      def manifest_path
        generator.manifest_path
      end

      def app_thinning_path
        generator.app_thinning_path
      end

      def app_thinning_size_report_path
        generator.app_thinning_size_report_path
      end

      def apps_path
        generator.apps_path
      end

      # The generator we need to use for the currently used Xcode version
      # Since we dropped Xcode 6 support, it's just this class, but maybe we'll have
      # new classes in the future
      def generator
        PackageCommandGeneratorXcode7
      end
    end
  end
end

Version data entries

243 entries across 243 versions & 1 rubygems

Version Path
fastlane-2.67.0.beta.20171122010004 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.66.2 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.66.1 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.67.0.beta.20171121010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.66.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171120010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171119010004 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171118010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171117010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171116010004 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171115010004 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171114010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.64.1 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171113010004 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171112010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171111010004 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171110010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171109010003 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.65.0.beta.20171108010003 gym/lib/gym/generators/package_command_generator.rb