class Fastlane::SwiftActionsAPIGenerator

Public Class Methods

new(target_output_path: "swift") click to toggle source
Calls superclass method Fastlane::SwiftAPIGenerator::new
# File fastlane/lib/fastlane/swift_fastlane_api_generator.rb, line 71
def initialize(target_output_path: "swift")
  @target_filename = "Actions.swift"
  @target_output_path = File.expand_path(target_output_path)
  @generated_paths = []

  super()

  # Excludes all actions that aren't external actions (including plugins)
  available_external_actions = Fastlane.external_actions || []
  available_actions = []
  ActionsList.all_actions do |action|
    next unless action.respond_to?(:action_name)
    available_actions << action.action_name unless available_external_actions.include?(action)
  end

  self.actions_not_supported = (["import", "import_from_git"] + available_actions).to_set
  self.action_options_to_ignore = {}
end