Class: Fastlane::Actions::ImportAction

Inherits:
Fastlane::Action show all
Defined in:
fastlane/lib/fastlane/actions/import.rb

Constant Summary

Constants inherited from Fastlane::Action

Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES

Documentation collapse

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, author, deprecated_notes, lane_context, method_missing, other_action, return_type, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text

Class Method Details

.authorsObject



30
31
32
# File 'fastlane/lib/fastlane/actions/import.rb', line 30

def self.authors
  ["KrauseFx"]
end

.available_optionsObject



23
24
# File 'fastlane/lib/fastlane/actions/import.rb', line 23

def self.available_options
end

.categoryObject



44
45
46
# File 'fastlane/lib/fastlane/actions/import.rb', line 44

def self.category
  :misc
end

.descriptionObject



12
13
14
# File 'fastlane/lib/fastlane/actions/import.rb', line 12

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

.detailsObject



16
17
18
19
20
21
# File 'fastlane/lib/fastlane/actions/import.rb', line 16

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

.example_codeObject



38
39
40
41
42
# File 'fastlane/lib/fastlane/actions/import.rb', line 38

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

.is_supported?(platform) ⇒ Boolean

Returns:



34
35
36
# File 'fastlane/lib/fastlane/actions/import.rb', line 34

def self.is_supported?(platform)
  true
end

.outputObject



26
27
28
# File 'fastlane/lib/fastlane/actions/import.rb', line 26

def self.output
  []
end

.run(params) ⇒ Object



4
5
6
# File 'fastlane/lib/fastlane/actions/import.rb', line 4

def self.run(params)
  # this is implemented in the fast_file.rb
end