class Pod::Command::Install

Public Class Methods

new(argv) click to toggle source

class << self

options_t = instance_method(:options)
# alias options_t options
define_method(:options) do
item = options_t.bind(self).call()

    [
      ['--dry-deps','only test depend'],
    ].concat(item)
end

end class << self

alias options_t options
def options
    o = options_t
    o.push(['--dry-deps','only test depend'])
    o.concat(super)
end

end

Calls superclass method
# File lib/cocoapods-packager-ext/command/install_ext.rb, line 76
def initialize(argv)
    super
    @deployment = argv.flag?('deployment', false)
    @clean_install = argv.flag?('clean-install', false)
    @dry_deps = argv.flag?('dry-deps',false)
end
options() click to toggle source
Calls superclass method
# File lib/cocoapods-packager-ext/command/install_ext.rb, line 46
def self.options
    [
      ['--repo-update', 'Force running `pod repo update` before install'],
      ['--deployment', 'Disallow any changes to the Podfile or the Podfile.lock during installation'],
      ['--clean-install', 'Ignore the contents of the project cache and force a full pod installation. This only applies to projects that have enabled incremental installation.'],
      ['--dry-deps','only test depend'],
    ].concat(super).reject { |(name, _)| name == '--no-repo-update' }
end

Public Instance Methods

installer_for_config() click to toggle source
# File lib/cocoapods-packager-ext/command/install_ext.rb, line 84
def installer_for_config
    item = installer_for_config_t
    if @dry_deps
        item.dry_deps = @dry_deps
    end
    item
end
Also aliased as: installer_for_config_t
installer_for_config_t()