Sha256: 2866898c31f7794b2e0182027d80f2949c6f59c98c191db1c2c9d41c4e6416cf
Contents?: true
Size: 1.32 KB
Versions: 4
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
4 entries across 4 versions & 1 rubygems