Sha256: 7296af30004fc630d960ac051239ce8a16875670e68650753dd7b6b2be5746a4

Contents?: true

Size: 974 Bytes

Versions: 5

Compression:

Stored size: 974 Bytes

Contents

require 'json'
require 'gym/version'
require 'gym/manager'
require 'gym/project'
require 'gym/generators/build_command_generator'
require 'gym/generators/package_command_generator'
require 'gym/runner'
require 'gym/error_handler'
require 'gym/options'
require 'gym/detect_values'
require 'gym/xcode'

require 'fastlane_core'
require 'terminal-table'

module Gym
  class << self
    attr_accessor :config

    attr_accessor :project

    def config=(value)
      @config = value
      DetectValues.set_additional_default_values
    end

    def gymfile_name
      "Gymfile"
    end

    def init_libs
      return unless Xcode.pre_7?
      # Import all the fixes
      require 'gym/xcodebuild_fixes/swift_fix'
      require 'gym/xcodebuild_fixes/watchkit_fix'
      require 'gym/xcodebuild_fixes/package_application_fix'
    end
  end

  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore

  Gym.init_libs
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gym-0.7.1 lib/gym.rb
gym-0.7.0 lib/gym.rb
gym-0.6.2 lib/gym.rb
gym-0.6.1 lib/gym.rb
gym-0.6.0 lib/gym.rb