class Prek::FastlaneHelper

Public Class Methods

new() click to toggle source
# File lib/command/fastlanehelper.rb, line 4
def initialize()
        load_require
        @runner =  Fastlane::Runner.new
end

Public Instance Methods

execute_fastlane_action(action_name) click to toggle source
# File lib/command/fastlanehelper.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() click to toggle source
# File lib/command/fastlanehelper.rb, line 9
        def load_require
  Dir[File.expand_path('*.rb', File.dirname(FileHelper.fastlane_action_path))].each do |file|
    require file
  end
  Dir[File.expand_path('*.rb', File.dirname(FileHelper.fastlane_helper_path))].each do |file|
      require file
  end
end