Sha256: 70fedbf447e62ce3891ef5e3b6c3b6d86581e67c4c89c30f347425815b4200c6

Contents?: true

Size: 1.23 KB

Versions: 522

Compression:

Stored size: 1.23 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_relative '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

522 entries across 522 versions & 2 rubygems

Version Path
fastlane-2.132.0.beta.20190921200021 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190920200012 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190919200100 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190918200023 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190917200011 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190916200055 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190915200038 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190914200034 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190913200058 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.132.0.beta.20190912200052 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190911200010 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190910200104 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190909200058 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190908200041 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190907200030 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190906200026 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190905200113 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190904200040 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.131.0.beta.20190903200013 gym/lib/gym/generators/package_command_generator.rb