Class: Pod::Command::Install

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods-dongjia/command/install.rb

Instance Method Summary collapse

Instance Method Details

#runObject



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/cocoapods-dongjia/command/install.rb', line 10

def run
  begin
    run_retryable()
  rescue => exception
    # 有异常,打开 --repo-update 重试
    unless @repo_update
      @repo_update = true
      run_retryable()
    end
  end
end

#run_retryableObject



9
# File 'lib/cocoapods-dongjia/command/install.rb', line 9

alias_method :run_retryable, :run