Class: Pod::Command::DyInstall
- Inherits:
-
Pod::Command
- Object
- Pod::Command
- Pod::Command::DyInstall
- Includes:
- ProjectDirectory, RepoUpdate
- Defined in:
- lib/pod/command/dyinstall.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.options ⇒ Object
32 33 34 35 36 |
# File 'lib/pod/command/dyinstall.rb', line 32 def self. [ ['--repo-update', 'Force running `pod repo update` before install'], ].concat(super).reject { |(name, _)| name == '--no-repo-update' } end |
Instance Method Details
#installer_for_config ⇒ Object
46 47 48 |
# File 'lib/pod/command/dyinstall.rb', line 46 def installer_for_config DyInstaller.new(config.sandbox, config.podfile, config.lockfile) end |
#run ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/pod/command/dyinstall.rb', line 38 def run verify_podfile_exists! installer = installer_for_config installer.repo_update = repo_update?(:default => false) installer.update = false installer.install! end |