Sha256: ea7e2fcf1722b5953568051f3bd4f885f43438dec4364e0f56224ca072d61b07

Contents?: true

Size: 1.02 KB

Versions: 10

Compression:

Stored size: 1.02 KB

Contents

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

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

      def self.description
        "Import another Pantfile 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 Pantfile in a separate folder.",
          "The path must be relative to the Pantfile 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/Pantfile")'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pantograph-0.1.13 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.12 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.10 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.8 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.7 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.6 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.4 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.3 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.1 pantograph/lib/pantograph/actions/import.rb
pantograph-0.1.0 pantograph/lib/pantograph/actions/import.rb