Sha256: 8c7524266207022cda905a1c6fc2933164cc4d65c9ea20de9df82b123aeadecc

Contents?: true

Size: 1.42 KB

Versions: 17

Compression:

Stored size: 1.42 KB

Contents

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__))
  DESCRIPTION = "Automate taking localized screenshots of your iOS and tvOS apps on every device"

  Snapshot::DependencyChecker.check_dependencies

  def self.min_xcode7?
    xcode_version.split(".").first.to_i >= 7
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fastlane-2.54.0.beta.20170822010003 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170821010003 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170820010003 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170819010003 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170818010002 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170817010002 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170816010003 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170815010003 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170814010003 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170813010002 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170812010002 snapshot/lib/snapshot.rb
fastlane-2.54.0.beta.20170811010002 snapshot/lib/snapshot.rb
fastlane-2.53.1 snapshot/lib/snapshot.rb
fastlane-2.53.0 snapshot/lib/snapshot.rb
fastlane-2.53.0.beta.20170810010003 snapshot/lib/snapshot.rb
fastlane-2.52.0 snapshot/lib/snapshot.rb
fastlane-2.52.0.beta.20170809010003 snapshot/lib/snapshot.rb