Sha256: 038bf2e6bedac5696011335909052bd9fa51d52e0cc8bcd2111fc916d35f7da3
Contents?: true
Size: 1007 Bytes
Versions: 10
Compression:
Stored size: 1007 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 require 'json' require 'fastlane' require 'fastlane_core' require_relative 'apprepo/version' module Fastlane # Root module of the plugin (seems like a class-loader) module Apprepo # 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 Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 # By default we want to import all available actions and helpers # A plugin can contain any number of actions and plugins Fastlane::Apprepo.all_classes.each do |current| require current end # Test only, should be removed... # UI.message('[apprepo.rb]: Initializing new CommandsGenerator') cgen = Apprepo::CommandsGenerator.new # UI.message('[apprepo.rb]: Downloading Manifest...') # cgen.download_manifest # UI.message('[apprepo.rb]: Running Deployment...') cgen.run end
Version data entries
10 entries across 10 versions & 1 rubygems