Sha256: 9183bed1fb1106f7b938b29b40bb0a2ac90159e05d10a50fbc41a779d050f721

Contents?: true

Size: 1.01 KB

Versions: 23

Compression:

Stored size: 1.01 KB

Contents

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

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

      def self.description
        "Import another Fastfile to use its lanes"
      end

      def self.details
        [
          "This is useful if you have shared lanes across multiple apps and you want to store a Fastfile in a separate folder.",
          "The path must be relative to the Fastfile this is called from."
        ].join("\n")
      end

      def self.available_options
      end

      def self.output
        []
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        true
      end

      def self.example_code
        [
          'import "./path/to/other/Fastfile"'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fastlane-2.94.0.beta.20180428050023 fastlane/lib/fastlane/actions/import.rb
fastlane-2.94.0.beta.20180427050031 fastlane/lib/fastlane/actions/import.rb
fastlane-2.94.0.beta.20180426050049 fastlane/lib/fastlane/actions/import.rb