Sha256: fc47e3066f3d0d9fd5ed5e02afda0f8969a4bac0f41900e398d6b7f153220677
Contents?: true
Size: 1.18 KB
Versions: 661
Compression:
Stored size: 1.18 KB
Contents
require 'fastlane_core/helper' require 'fastlane/boolean' require_relative 'detect_values' require_relative 'dependency_checker' 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__)) DESCRIPTION = "Automate taking localized screenshots of your iOS and tvOS apps on every device" CACHE_DIR = File.join(Dir.home, "Library/Caches/tools.fastlane") SCREENSHOTS_DIR = File.join(CACHE_DIR, 'screenshots') Boolean = Fastlane::Boolean Snapshot::DependencyChecker.check_dependencies def self.min_xcode7? xcode_version.split(".").first.to_i >= 7 end end
Version data entries
661 entries across 661 versions & 5 rubygems