Commit 65ad80f0 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Cache] Save the podspec after cleaning

parent 6eaa28b9
...@@ -110,6 +110,7 @@ module Pod ...@@ -110,6 +110,7 @@ module Pod
destination.parent.mkpath unless destination.parent.exist? destination.parent.mkpath unless destination.parent.exist?
FileUtils.cp_r(source, destination) FileUtils.cp_r(source, destination)
Sandbox::PodDirCleaner.new(destination, specs_by_platform).clean! Sandbox::PodDirCleaner.new(destination, specs_by_platform).clean!
(destination + "#{spec.name}.podspec.json").open('w') { |f| f.write spec.to_pretty_json }
end end
end end
end end
......
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