gym/lib/gym.rb in fastlane-2.74.0.beta.20180106010004 vs gym/lib/gym.rb in fastlane-2.74.0.beta.20180107010004
- old
+ new
@@ -1,46 +1,9 @@
-require 'json'
-require 'gym/manager'
-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 'gym/code_signing_mapping'
-
-require 'fastlane_core'
-require 'terminal-table'
-require 'shellwords'
-
-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/generic_archive_fix'
- end
- end
-
- Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
- UI = FastlaneCore::UI
- ROOT = Pathname.new(File.expand_path('../..', __FILE__))
- DESCRIPTION = "Building your iOS apps has never been easier"
-
- Gym.init_libs
-end
+require_relative 'gym/manager'
+require_relative 'gym/generators/build_command_generator'
+require_relative 'gym/generators/package_command_generator'
+require_relative 'gym/runner'
+require_relative 'gym/error_handler'
+require_relative 'gym/options'
+require_relative 'gym/detect_values'
+require_relative 'gym/xcode'
+require_relative 'gym/code_signing_mapping'