Sha256: 2cd956bc07eafe5a63caa9b9e2c291cfb4d34e37a4eb5167d000ead5fb1b6e1b

Contents?: true

Size: 589 Bytes

Versions: 3

Compression:

Stored size: 589 Bytes

Contents

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

    def run
      return unless Pod::Podfile::DSL.dev_pods_enabled && @installer_context.sandbox.instance_of?(Pod::PrebuildSandbox)

      # Modify pods scheme to support code coverage
      # If we don't prebuild dev pod -> no need to care about this in Pod project
      # because we setup in the main project (ex. DriverCI scheme)
      SchemeEditor.edit_to_support_code_coverage(@installer_context.sandbox) if Pod.is_prebuild_stage
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocoapods-binary-cache-0.1.3 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.2 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.1 lib/cocoapods-binary-cache/hooks/post_install.rb