lib/cocoapods/installer.rb
# Runs the pre install hooks of the installed specs and of the Podfile.
#
# @return [void]
#
Runs the pre install hooks of the installed specs and of the Podfile.
Runs the pre install hooks of the installed specs and of the Podfile .
def run_pre_install_hooks
      UI.message "- Running pre install hooks" do
        installed_specs.each do |spec|
          executed = false
          libraries_using_spec(spec).each do |lib|
            executed ||= spec.pre_install!(pod_rep(spec.root.name), library_rep(lib))
          end
          UI.message "- #{spec.name}" if executed
        end
        executed = @podfile.pre_install!(installer_rep)
        UI.message "- Podfile" if executed
      end
    end
def run_pre_install_hooks UI . message "- Running pre install hooks" do installed_specs . each do | spec | executed = false libraries_using_spec ( spec ) . each do | lib | executed ||= spec . pre_install! ( pod_rep ( spec . root . name ) , library_rep ( lib ) ) end UI . message "- #{spec.name}" if executed end executed = @podfile . pre_install! ( installer_rep ) UI . message "- Podfile" if executed end end
Runs the pre install hooks of the installed specs and of the Podfile.
Runs the pre install hooks of the installed specs and of the Podfile .
None
void