Class: Pod::Installer::Analyzer
- Inherits:
-
Object
- Object
- Pod::Installer::Analyzer
- Defined in:
- lib/cocoapods-bb-bin/native/analyzer.rb,
lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
Defined Under Namespace
Classes: SandboxAnalyzer
Instance Method Summary collapse
-
#old_update_repositories ⇒ Object
> 1.5.3 版本 rewrite update_repositories.
- #update_repositories ⇒ Object
Instance Method Details
#old_update_repositories ⇒ Object
> 1.5.3 版本 rewrite update_repositories
33 |
# File 'lib/cocoapods-bb-bin/native/analyzer.rb', line 33 alias old_update_repositories update_repositories |
#update_repositories ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/cocoapods-bb-bin/native/analyzer.rb', line 34 def update_repositories if .update_source_with_multi_processes # 并发更新私有源 # 这里多线程会导致 pod update 额外输出 --verbose 的内容 # 不知道为什么? Parallel.each(sources.uniq(&:url), in_processes: 4) do |source| if source.git? config.sources_manager.update(source.name, true) else UI. "Skipping `#{source.name}` update because the repository is not a git source repository." end end @specs_updated = true else old_update_repositories end end |