Sha256: 644e269479abcd9b5c67bd80a4ef7c764112ef23746ba2295205a003d8658061

Contents?: true

Size: 985 Bytes

Versions: 4

Compression:

Stored size: 985 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

    attr_accessor :cache

    def config=(value)
      @config = value
      DetectValues.set_additional_default_values
      @cache = {}
    end

    def gymfile_name
      "Gymfile"
    end

    def init_libs
      # 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

4 entries across 4 versions & 1 rubygems

Version Path
gym-0.8.5 lib/gym.rb
gym-0.8.4 lib/gym.rb
gym-0.8.3 lib/gym.rb
gym-0.8.2 lib/gym.rb