lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-0.0.5 vs lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-1.0.0
- old
+ new
@@ -114,11 +114,11 @@
# Execute a sperated pod install, to generate targets for building framework,
# then compile them to framework files.
require_relative 'helper/prebuild_sandbox'
require_relative 'Prebuild'
- Pod::UI.puts "火速编译中..."
+ # Pod::UI.puts "火速编译中..."
# Fetch original installer (which is running this pre-install hook) options,
# then pass them to our installer to perform update if needed
# Looks like this is the most appropriate way to figure out that something should be updated
@@ -146,11 +146,12 @@
prebuild_podfile = Pod::Podfile.from_ruby(podfile.defined_in_file)
# install
lockfile = installer_context.lockfile
binary_installer = Pod::Installer.new(prebuild_sandbox, prebuild_podfile, lockfile)
-
+
+ require_relative 'Integration'
if binary_installer.have_exact_prebuild_cache? && !update
binary_installer.install_when_cache_hit!
else
binary_installer.update = update
binary_installer.repo_update = repo_update
@@ -168,10 +169,9 @@
# -- step 2: pod install ---
# install
Pod::UI.puts "\n"
Pod::UI.puts "🤖 Pod Install"
- require_relative 'Integration'
# go on the normal install step ...
end
Pod::HooksManager.register('cocoapods-ppbuild', :post_install) do |installer_context|