Commit 1f5c7f4a authored by Fabio Pelosin's avatar Fabio Pelosin

[LocalPod] Fix #all_specs_public_header_files.

parent 663d8710
......@@ -304,11 +304,7 @@ module Pod
raise Informative, "The pod is cleaned and cannot compute the all the "\
"header files as they might be deleted."
end
all_specs = top_specification.recursive_subspecs << top_specification
files = all_specs.map { |s| expanded_paths(s.source_files, :glob => '*.{h}') }
files.flatten!
files.select { |f| f && f.extname == '.h' }.uniq!
files
header_files
end
# @!group Target integration
......
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