fastlane/lib/fastlane.rb in fastlane-2.130.0.beta.20190822200101 vs fastlane/lib/fastlane.rb in fastlane-2.130.0.beta.20190823200017
- old
+ new
@@ -24,10 +24,11 @@
require 'fastlane/command_line_handler'
require 'fastlane/documentation/docs_generator'
require 'fastlane/other_action'
require 'fastlane/plugins/plugins'
require 'fastlane/fastlane_require'
+require "fastlane/swift_fastlane_api_generator.rb"
module Fastlane
Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
UI = FastlaneCore::UI
ROOT = Pathname.new(File.expand_path('../..', __FILE__))
@@ -37,12 +38,14 @@
Fastlane::Actions.load_default_actions
Fastlane::Actions.load_helpers
if FastlaneCore::FastlaneFolder.path
actions_path = File.join(FastlaneCore::FastlaneFolder.path, 'actions')
- Fastlane::Actions.load_external_actions(actions_path) if File.directory?(actions_path)
+ @external_actions = Fastlane::Actions.load_external_actions(actions_path) if File.directory?(actions_path)
end
end
+
+ attr_reader :external_actions
def plugin_manager
@plugin_manager ||= Fastlane::PluginManager.new
end
end