class PodPrebuild::PostInstallHook
Public Class Methods
new(installer_context)
click to toggle source
# File lib/cocoapods-binary-cache/hooks/post_install.rb, line 3 def initialize(installer_context) @installer_context = installer_context end
Public Instance Methods
run()
click to toggle source
# File lib/cocoapods-binary-cache/hooks/post_install.rb, line 7 def run diagnose if PodPrebuild::Env.integration_stage? end
Private Instance Methods
diagnose()
click to toggle source
# File lib/cocoapods-binary-cache/hooks/post_install.rb, line 13 def diagnose Pod::UI.title("Diagnosing cocoapods-binary-cache") do PodPrebuild::Diagnosis.new( cache_validation: PodPrebuild.state.cache_validation, standard_sandbox: @installer_context.sandbox, specs: @installer_context.umbrella_targets.map(&:specs).flatten ).run end end