17 lines
470 B
Ruby

require 'fastlane/plugin/android_cd/version'
module Fastlane
module AndroidCd
# 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::AndroidCd.all_classes.each do |current|
require current
end