Sha256: 76b7cc8d65c6b691343506041e195128c7d9e35c9640ebc10a0d9fc111c170a5

Contents?: true

Size: 889 Bytes

Versions: 4

Compression:

Stored size: 889 Bytes

Contents

require 'fastlane_core/helper'
require 'fastlane/boolean'
require_relative 'detect_values'

module Scan
  class << self
    attr_accessor :config

    attr_accessor :project

    attr_accessor :cache

    attr_accessor :devices

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

    def scanfile_name
      "Scanfile"
    end

    def building_mac_catalyst_for_mac?
      return false unless Scan.project
      Scan.config[:catalyst_platform] == "macos" && Scan.project.supports_mac_catalyst?
    end
  end

  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
  UI = FastlaneCore::UI
  Boolean = Fastlane::Boolean
  ROOT = Pathname.new(File.expand_path('../../..', __FILE__))

  DESCRIPTION = "The easiest way to run tests of your iOS and Mac app"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fastlane-2.225.0 scan/lib/scan/module.rb
fastlane-2.224.0 scan/lib/scan/module.rb
fastlane-2.223.1 scan/lib/scan/module.rb
fastlane-2.223.0 scan/lib/scan/module.rb