Sha256: 724f32de9614e8e6df76b6355bfea7346bf629226c518d2cb9f6a3c2bf1309c5
Contents?: true
Size: 1.43 KB
Versions: 9
Compression:
Stored size: 1.43 KB
Contents
require 'snapshot/version' require 'snapshot/runner' require 'snapshot/reports_generator' require 'snapshot/detect_values' require 'snapshot/screenshot_flatten' require 'snapshot/screenshot_rotate' require 'snapshot/dependency_checker' require 'snapshot/latest_os_version' require 'snapshot/test_command_generator' require 'snapshot/error_handler' require 'snapshot/collector' require 'snapshot/options' require 'snapshot/update' require 'snapshot/fixes/simulator_zoom_fix' require 'snapshot/fixes/hardware_keyboard_fix' require 'fastlane_core' require 'open3' module Snapshot # Use this to just setup the configuration attribute and set it later somewhere else class << self attr_accessor :config attr_accessor :project attr_accessor :cache def config=(value) @config = value DetectValues.set_additional_default_values @cache = {} end def snapfile_name "Snapfile" end def kill_simulator `killall 'iOS Simulator' &> /dev/null` `killall Simulator &> /dev/null` 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__)) Snapshot::DependencyChecker.check_dependencies def self.xcode_version `xcodebuild -version`.match(/Xcode (.*)/)[1] end def self.min_xcode7? xcode_version.split(".").first.to_i >= 7 end end
Version data entries
9 entries across 9 versions & 1 rubygems