Sha256: cf61b2fc79fc8f4caa57bdc7c3241ef209f099c44719b60677c4e716b904f42c

Contents?: true

Size: 1014 Bytes

Versions: 531

Compression:

Stored size: 1014 Bytes

Contents

require 'fastlane/boolean'

require_relative 'analytics/analytics_session'

module FastlaneCore
  ROOT = Pathname.new(File.expand_path('../../..', __FILE__))
  Boolean = Fastlane::Boolean

  # Session is used to report usage metrics.
  # If you opt out, we will not send anything.
  # You can confirm this by observing how we use the environment variable: FASTLANE_OPT_OUT_USAGE
  # Specifically, in AnalyticsSession.finalize_session
  # Learn more at https://docs.fastlane.tools/#metrics
  def self.session
    @session ||= AnalyticsSession.new
  end

  def self.reset_session
    @session = nil
  end

  # A directory that's being used to user-wide fastlane configs
  # This directory is also used for the bundled fastlane
  # Since we don't want to access FastlaneCore from spaceship
  # this method is duplicated in spaceship/client.rb
  def self.fastlane_user_dir
    path = File.expand_path(File.join(Dir.home, ".fastlane"))
    FileUtils.mkdir_p(path) unless File.directory?(path)
    return path
  end
end

Version data entries

531 entries across 531 versions & 5 rubygems

Version Path
fastlane-2.226.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.225.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.224.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.223.1 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.223.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.222.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.221.1 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.221.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.220.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.219.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.218.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-security-patched-2.216.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.217.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.216.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.215.1 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.215.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-mercafacil-2.214.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.214.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.213.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.212.2 fastlane_core/lib/fastlane_core/module.rb