Sha256: 73dc165b7ed7a3fed3c16d09f0f83e94b732097ad2e08c4ed05a84346eaab557

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 Bytes

Contents

module PodPrebuild
  class PostInstallHook
    def initialize(installer_context)
      @installer_context = installer_context
    end

    def run
      diagnose if PodPrebuild::Env.integration_stage?
    end

    private

    def diagnose
      Pod::UI.title("Diagnosing cocoapods-binary-ht") 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocoapods-binary-ht-1.0.0 lib/cocoapods-binary-ht/hooks/post_install.rb