Sha256: b99f321bf76ea84c542c14beb566a67ab1727a18adaaf93f1f53b394861f8b91
Contents?: true
Size: 1.32 KB
Versions: 13
Compression:
Stored size: 1.32 KB
Contents
module Fastlane module Actions class ApprepoAction < Action def self.is_supported?(_platform) true end end class InitAction < Action def self.run(_params) # sh 'bundle exec rubocop -D' command :init do |c| c.syntax = 'apprepo init' c.description = 'Create the initial `apprepo` configuration' c.action do |_args, options| if File.exist?('Repofile') || File.exist?('fastlane/Repofile') UI.important('You already got a running apprepo setup.') return 0 end require 'apprepo/setup' config = FastlaneCore::Configuration available_opts = Apprepo::Options.available_options options = config.create(available_opts, options.__hash__) Apprepo::Runner.new(options) Apprepo::Setup.new.run(options) end end end ##################################################### # @!group Documentation ##################################################### def self.description 'Initializes Repofile' end def self.available_options [] end def self.authors ['suculent@me.com'] end def self.is_supported?(_platform) true end end end end
Version data entries
13 entries across 13 versions & 1 rubygems