Class: Fastlane::Actions::ImportFromGitAction

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

Documentation collapse

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, author, method_missing, other_action, output, return_value, sh, step_text

Class Method Details

.authorsObject



39
40
41
# File 'lib/fastlane/actions/import_from_git.rb', line 39

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

.available_optionsObject



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/fastlane/actions/import_from_git.rb', line 23

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

.descriptionObject



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

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

.detailsObject



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

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

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/fastlane/actions/import_from_git.rb', line 43

def self.is_supported?(platform)
  true
end

.run(params) ⇒ Object



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

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