Commit c252fa6e authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Cache] Save the podspec after cleaning

parent f8340f5d
......@@ -110,6 +110,7 @@ module Pod
destination.parent.mkpath unless destination.parent.exist?
FileUtils.cp_r(source, destination)
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
......
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