module FastlaneCore
Constants
- Boolean
- ROOT
Public Class Methods
Source
# File fastlane_core/lib/fastlane_core/module.rb, line 26 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
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
Source
# File fastlane_core/lib/fastlane_core/module.rb, line 18 def self.reset_session @session = nil end
Source
# File fastlane_core/lib/fastlane_core/module.rb, line 14 def self.session @session ||= AnalyticsSession.new end
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 docs.fastlane.tools/#metrics