Sha256: 42fbf798a347401304dae26041194e903d7b2bce5cab32a42a8b3f8a0843e72a

Contents?: true

Size: 1.49 KB

Versions: 77

Compression:

Stored size: 1.49 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 pkg_path
        generator.pkg_path
      end

      def binary_path
        generator.binary_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

      def asset_packs_path
        generator.asset_packs_path
      end

      def appstore_info_path
        generator.appstore_info_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

77 entries across 77 versions & 4 rubygems

Version Path
fastlane-2.226.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.225.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.224.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.223.1 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.223.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.222.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.221.1 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.221.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.220.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.219.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.218.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-security-patched-2.216.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.217.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.216.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.215.1 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.215.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-mercafacil-2.214.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.214.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.213.0 gym/lib/gym/generators/package_command_generator.rb
fastlane-2.212.2 gym/lib/gym/generators/package_command_generator.rb