Sha256: d032e84cef06813de39d4c1f896593f65f29d4563ead10f70481f758e9f6a315
Contents?: true
Size: 857 Bytes
Versions: 1
Compression:
Stored size: 857 Bytes
Contents
require_relative "base" module PodPrebuild class IntegrationDiagnosis < BaseDiagnosis def run should_be_integrated = if PodPrebuild.config.prebuild_job? \ then @cache_validation.hit + @cache_validation.missed \ else @cache_validation.hit \ end should_be_integrated = should_be_integrated.map { |name| name.split("/")[0] }.to_set unintegrated = should_be_integrated.reject do |name| module_name = spec(name)&.module_name || name framework_path = \ @standard_sandbox.pod_dir(name) + \ PodPrebuild.config.prebuilt_path(path: "#{module_name}.framework") framework_path.exist? end Pod::UI.puts "🚩 Unintegrated frameworks: #{unintegrated}".yellow unless unintegrated.empty? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-binary-cache-0.1.7 | lib/cocoapods-binary-cache/diagnosis/integration.rb |