class Fastlane::LaneManagerBase

Base class for all LaneManager classes Takes care of all common things like printing the lane description tables and loading .env files

Public Class Methods

finish_fastlane(ff, duration, error, skip_message: false) click to toggle source

All the finishing up that needs to be done

# File fastlane/lib/fastlane/lane_manager_base.rb, line 10
def self.finish_fastlane(ff, duration, error, skip_message: false)
  # Sometimes we don't have a fastfile because we're using Fastfile.swift
  unless ff.nil?
    ff.runner.did_finish
  end

  # Finished with all the lanes
  Fastlane::JUnitGenerator.generate(Fastlane::Actions.executed_actions)
  print_table(Fastlane::Actions.executed_actions)

  Fastlane::PluginUpdateManager.show_update_status

  if error
    UI.error('fastlane finished with errors') unless skip_message
    raise error
  elsif duration > 5
    UI.success("fastlane.tools just saved you #{duration} minutes! 🎉") unless skip_message
  else
    UI.success('fastlane.tools finished successfully 🎉') unless skip_message
  end
end
print_error_line(ex) click to toggle source
print_lane_context() click to toggle source
print_table(actions) click to toggle source

Print a table as summary of the executed actions

skip_docs?() click to toggle source
# File fastlane/lib/fastlane/lane_manager_base.rb, line 5
def self.skip_docs?
  Helper.test? || FastlaneCore::Env.truthy?("FASTLANE_SKIP_DOCS")
end