Commit 0f43da05 authored by Fabio Pelosin's avatar Fabio Pelosin

[Installer] Run the hooks of all the specs (not of the installed ones

only)

Closes #953
parent c42cbaaf
...@@ -368,7 +368,7 @@ module Pod ...@@ -368,7 +368,7 @@ module Pod
# #
def run_pre_install_hooks def run_pre_install_hooks
UI.message "- Running pre install hooks" do UI.message "- Running pre install hooks" do
installed_specs.each do |spec| analysis_result.specifications.each do |spec|
executed = false executed = false
libraries_using_spec(spec).each do |lib| libraries_using_spec(spec).each do |lib|
lib_representation = library_rep(lib) lib_representation = library_rep(lib)
...@@ -427,7 +427,7 @@ module Pod ...@@ -427,7 +427,7 @@ module Pod
# #
def run_post_install_hooks def run_post_install_hooks
UI.message "- Running post install hooks" do UI.message "- Running post install hooks" do
installed_specs.each do |spec| analysis_result.specifications.each do |spec|
executed = false executed = false
libraries_using_spec(spec).each do |lib| libraries_using_spec(spec).each do |lib|
lib_representation = library_rep(lib) lib_representation = library_rep(lib)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment