Class: Pod::Command::Install
- Inherits:
-
Pod::Command
- Object
- CLAide::Command
- Pod::Command
- Pod::Command::Install
- Includes:
- ProjectDirectory, RepoUpdate
- Defined in:
- lib/cocoapods/command/install.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Pod::Command
#ensure_master_spec_repo_exists!, #initialize, report_error, run
Methods included from Pod::Config::Mixin
Constructor Details
This class inherits a constructor from Pod::Command
Class Method Details
.options ⇒ Object
30 31 32 33 34 |
# File 'lib/cocoapods/command/install.rb', line 30 def self. [ ['--repo-update', 'Force running `pod repo update` before install'], ].concat(super).reject { |(name, _)| name == '--no-repo-update' } end |
Instance Method Details
#run ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/cocoapods/command/install.rb', line 36 def run verify_podfile_exists! installer = installer_for_config installer.repo_update = repo_update?(:default => false) installer.update = false installer.install! end |