class Fastlane::Actions::CarthageCacheInstallAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/carthage_cache_res/actions/carthage_cache_install.rb, line 13
def self.authors
  [%q{thii}]
end
available_options() click to toggle source
# File lib/fastlane/plugin/carthage_cache_res/actions/carthage_cache_install.rb, line 17
def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :bucket,
                            env_name: "CARTHAGE_CACHE_BUCKET",
                         description: "Amazon S3 bucket name which caches your Carthage build",
                            optional: false,
                                type: String)
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/carthage_cache_res/actions/carthage_cache_install.rb, line 9
def self.description
  %q{Download Carthage cache from Amazon S3}
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/carthage_cache_res/actions/carthage_cache_install.rb, line 27
def self.is_supported?(platform)
  [:ios, :mac, :tvos, :watchos].include?(platform)
end
run(params) click to toggle source
# File lib/fastlane/plugin/carthage_cache_res/actions/carthage_cache_install.rb, line 4
def self.run(params)
  UI.message("Downloading Carthage cache from Amazon S3...")
  sh "bundle exec carthage_cache install --bucket-name #{params[:bucket]}" 
end