lib/cocoapods-util/binary/hooks/CocoapodsUtilHook.rb in cocoapods-util-0.0.16 vs lib/cocoapods-util/binary/hooks/CocoapodsUtilHook.rb in cocoapods-util-0.2.0
- old
+ new
@@ -1,17 +1,18 @@
-require_relative 'pre_install'
-require_relative 'post_install'
+require_relative '../helper/podfile_options'
module CocoapodsUtilHook
Pod::HooksManager.register('cocoapods-util', :pre_install) do |installer_context, _|
+ require_relative 'pre_install'
BinaryPrebuild::PreInstall.new(installer_context).run
end
Pod::HooksManager.register('cocoapods-util', :pre_integrate) do |context, _|
end
Pod::HooksManager.register('cocoapods-util', :post_install) do |context, _|
+ require_relative 'post_install'
BinaryPrebuild::PostInstall.new(context).run
end
Pod::HooksManager.register('cocoapods-util', :post_integrate) do |context, _|
\ No newline at end of file