Class: Fastlane::Actions::CocoapodsAction

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

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, author, available_options, details, output, sh

Class Method Details

.descriptionObject



8
9
10
# File 'lib/fastlane/actions/install_cocapods.rb', line 8

def self.description
  "Runs `pod install` for the project"
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


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

def self.is_supported?(platform)
  platform == :ios
end

.run(params) ⇒ Object



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

def self.run(params)
  Actions.sh('pod install')
end