Sha256: 81d69e7980f2865a8a414fc701bf0ffd3d427cbe63021a9a9bf4a3aefab2ce04

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 Bytes

Contents

# frozen_string_literal: true

require 'cocoapods'

Pod::Installer
  .prepend(Module.new do
             def perform_post_install_actions
               super

               return unless plugins.key?('refinement')

               raise Pod::Informative, 'Refinement requires a CocoaPods version >= 1.6.0' unless Gem::Version.create(Pod::VERSION) >= Gem::Version.create('1.6.0')

               require 'sq/refinement/cocoapods_post_install_writer'
               Pod::UI.message 'Writing refinement file' do
                 Sq::Refinement::CocoaPodsPostInstallWriter.new(aggregate_targets, pod_targets, config, plugins['refinement']).write!
               end
             end
           end)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinement-0.7.0 lib/cocoapods_plugin.rb