17 lines
458 B
Ruby

require 'fastlane/plugin/ios_cd/version'
module Fastlane
module IosCd
# Return all .rb files inside the "actions" and "helper" directory
def self.all_classes
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
end
end
end
# By default we want to import all available actions and helpers
# A plugin can contain any number of actions and plugins
Fastlane::IosCd.all_classes.each do |current|
require current
end