Sha256: d7ab8df07a059a10a0436d59a8d76011a84d8ec900812862af85af8f190b80fc

Contents?: true

Size: 1017 Bytes

Versions: 17

Compression:

Stored size: 1017 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://github.com/fastlane/fastlane#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("~", ".fastlane"))
    FileUtils.mkdir_p(path) unless File.directory?(path)
    return path
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fastlane-2.77.0.beta.20180117010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.1 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0.beta.20180116010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0.beta.20180115010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0.beta.20180114010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0.beta.20180113010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0.beta.20180112010003 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0.beta.20180111010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.76.0.beta.20180110010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.75.1 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.75.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.75.0.beta.20180109010003 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.74.1 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.74.0 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.74.0.beta.20180108010004 fastlane_core/lib/fastlane_core/module.rb
fastlane-2.74.0.beta.20180107010004 fastlane_core/lib/fastlane_core/module.rb