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



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/cocoapods-dongjia/command/install.rb', line 7

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

#run_retryableObject



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

alias_method :run_retryable, :run