Class: Bytedance::FastlaneHelper
- Inherits:
-
Object
- Object
- Bytedance::FastlaneHelper
- Defined in:
- lib/command/file_help.rb,
lib/command/fastlanehelper.rb
Instance Method Summary collapse
- #execute_fastlane_action(action_name) ⇒ Object
-
#initialize ⇒ FastlaneHelper
constructor
A new instance of FastlaneHelper.
- #load_require ⇒ Object
Constructor Details
#initialize ⇒ FastlaneHelper
Returns a new instance of FastlaneHelper.
4 5 6 7 |
# File 'lib/command/file_help.rb', line 4 def initialize() load_require @runner = Fastlane::Runner.new end |
Instance Method Details
#execute_fastlane_action(action_name) ⇒ Object
18 19 20 |
# File 'lib/command/file_help.rb', line 18 def execute_fastlane_action(action_name) @runner.execute_action(action_name,@runner.class_reference_from_action_name(action_name),[],custom_dir:".") end |
#load_require ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/command/file_help.rb', line 9 def load_require Dir[File.('*.rb', File.dirname(FileHelper.fastlane_action_path))].each do |file| require file end Dir[File.('*.rb', File.dirname(FileHelper.fastlane_helper_path))].each do |file| require file end end |