Module: FastlaneCore
- Defined in:
- fastlane_core/lib/fastlane_core/env.rb,
fastlane_core/lib/fastlane_core/swag.rb,
fastlane_core/lib/fastlane_core/ui/ui.rb,
fastlane_core/lib/fastlane_core/helper.rb,
fastlane_core/lib/fastlane_core/module.rb,
fastlane_core/lib/fastlane_core/globals.rb,
fastlane_core/lib/fastlane_core/project.rb,
fastlane_core/lib/fastlane_core/languages.rb,
fastlane_core/lib/fastlane_core/print_table.rb,
fastlane_core/lib/fastlane_core/tag_version.rb,
fastlane_core/lib/fastlane_core/test_parser.rb,
fastlane_core/lib/fastlane_core/cert_checker.rb,
fastlane_core/lib/fastlane_core/fastlane_pty.rb,
fastlane_core/lib/fastlane_core/ui/interface.rb,
fastlane_core/lib/fastlane_core/build_watcher.rb,
fastlane_core/lib/fastlane_core/device_manager.rb,
fastlane_core/lib/fastlane_core/fastlane_folder.rb,
fastlane_core/lib/fastlane_core/feature/feature.rb,
fastlane_core/lib/fastlane_core/command_executor.rb,
fastlane_core/lib/fastlane_core/ipa_file_analyser.rb,
fastlane_core/lib/fastlane_core/keychain_importer.rb,
fastlane_core/lib/fastlane_core/pkg_file_analyser.rb,
fastlane_core/lib/fastlane_core/itunes_transporter.rb,
fastlane_core/lib/fastlane_core/provisioning_profile.rb,
fastlane_core/lib/fastlane_core/ui/errors/fastlane_crash.rb,
fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb,
fastlane_core/lib/fastlane_core/ui/implementations/shell.rb,
fastlane_core/lib/fastlane_core/update_checker/changelog.rb,
fastlane_core/lib/fastlane_core/configuration/config_item.rb,
fastlane_core/lib/fastlane_core/ios_app_identifier_guesser.rb,
fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb,
fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb,
fastlane_core/lib/fastlane_core/analytics/analytics_session.rb,
fastlane_core/lib/fastlane_core/configuration/configuration.rb,
fastlane_core/lib/fastlane_core/android_package_name_guesser.rb,
fastlane_core/lib/fastlane_core/ui/errors/fastlane_exception.rb,
fastlane_core/lib/fastlane_core/update_checker/update_checker.rb,
fastlane_core/lib/fastlane_core/ui/errors/fastlane_shell_error.rb,
fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb,
fastlane_core/lib/fastlane_core/ui/errors/fastlane_common_error.rb,
fastlane_core/lib/fastlane_core/analytics/app_identifier_guesser.rb,
fastlane_core/lib/fastlane_core/configuration/configuration_file.rb,
fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb,
fastlane_core/lib/fastlane_core/configuration/commander_generator.rb,
fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb,
fastlane_core/lib/fastlane_core/analytics/analytics_ingester_client.rb
Defined Under Namespace
Modules: Helper, Languages Classes: ActionCompletionContext, ActionCompletionStatus, ActionLaunchContext, AnalyticsEventBuilder, AnalyticsIngesterClient, AnalyticsSession, AndroidPackageNameGuesser, AppIdentifierGuesser, BuildWatcher, CertChecker, Changelog, CommandExecutor, CommanderGenerator, ConfigItem, Configuration, ConfigurationFile, DeviceManager, Env, FastlaneFolder, FastlanePty, FastlanePtyError, Feature, Globals, IOSAppIdentifierGuesser, Interface, IpaFileAnalyser, IpaUploadPackageBuilder, ItunesTransporter, JavaTransporterExecutor, KeychainImporter, PkgFileAnalyser, PkgUploadPackageBuilder, PrintTable, Project, ProvisioningProfile, Shell, ShellScriptTransporterExecutor, Simulator, SimulatorTV, SimulatorWatch, Swag, TagVersion, TestParser, TransporterExecutor, TransporterInputError, TransporterRequiresApplicationSpecificPasswordError, TransporterTransferError, UI, UpdateChecker
Constant Summary collapse
Class Method Summary collapse
-
.fastlane_user_dir ⇒ Object
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.
- .reset_session ⇒ Object
-
.session ⇒ Object
Session is used to report usage metrics.
Class Method Details
.fastlane_user_dir ⇒ Object
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
26 27 28 29 30 |
# File 'fastlane_core/lib/fastlane_core/module.rb', line 26 def self.fastlane_user_dir path = File.(File.join(Dir.home, ".fastlane")) FileUtils.mkdir_p(path) unless File.directory?(path) return path end |
.reset_session ⇒ Object
18 19 20 |
# File 'fastlane_core/lib/fastlane_core/module.rb', line 18 def self.reset_session @session = nil end |
.session ⇒ Object
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
14 15 16 |
# File 'fastlane_core/lib/fastlane_core/module.rb', line 14 def self.session @session ||= AnalyticsSession.new end |