Sha256: 91bdc00b6b78876bc6c90b3aa914e69bfc5a21a04c549d9ffadc16b4e5d96d9b

Contents?: true

Size: 1.6 KB

Versions: 97

Compression:

Stored size: 1.6 KB

Contents

module Fastlane
  module Actions
    class ImportFromGitAction < Action
      def self.run(params)
        # this is implemented in the fast_file.rb
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Import another Fastfile from a remote git repository to use its lanes"
      end

      def self.details
        [
          "This is useful if you have shared lanes across multiple apps and you want to store the Fastfile",
          "in a remote git repository."
        ].join("\n")
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(key: :url,
                                       description: "The url of the repository to import the Fastfile from",
                                       default_value: nil),
          FastlaneCore::ConfigItem.new(key: :branch,
                                       description: "The branch to check-out on the repository",
                                       default_value: 'HEAD',
                                       optional: true),
          FastlaneCore::ConfigItem.new(key: :path,
                                       description: "The path of the Fastfile in the repository",
                                       default_value: 'fastlane/Fastfile',
                                       optional: true)
        ]
      end

      def self.authors
        ["fabiomassimo", "KrauseFx", "Liquidsoul"]
      end

      def self.is_supported?(platform)
        true
      end
    end
  end
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
fastlane-1.99.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.98.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.97.2 lib/fastlane/actions/import_from_git.rb
fastlane-1.97.1 lib/fastlane/actions/import_from_git.rb
fastlane-1.97.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.96.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.95.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.94.1 lib/fastlane/actions/import_from_git.rb
fastlane-1.94.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.93.1 lib/fastlane/actions/import_from_git.rb
fastlane-1.93.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.92.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.92.0.beta2 lib/fastlane/actions/import_from_git.rb
fastlane-1.92.0.beta1 lib/fastlane/actions/import_from_git.rb
fastlane-1.91.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.90.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.89.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.88.0 lib/fastlane/actions/import_from_git.rb
fastlane-1.87.1 lib/fastlane/actions/import_from_git.rb
fastlane-1.87.0 lib/fastlane/actions/import_from_git.rb