Commit 5f9f96f9 authored by Samuel E. Giddins's avatar Samuel E. Giddins

Use proper cleaner class

parent deaffc9c
...@@ -94,8 +94,7 @@ module Pod ...@@ -94,8 +94,7 @@ module Pod
spec.available_platforms.each do |platform| spec.available_platforms.each do |platform|
specs_by_platform[platform] = spec.recursive_subspecs.select { |ss| ss.supported_on_platform?(platform) } specs_by_platform[platform] = spec.recursive_subspecs.select { |ss| ss.supported_on_platform?(platform) }
end end
pod_source_installer = Installer::PodSourceInstaller.new(MockSandbox.new(source), specs_by_platform) Cleaner.new(source, specs_by_platform).clean!
pod_source_installer.clean!
destination.parent.mkpath unless destination.parent.exist? destination.parent.mkpath unless destination.parent.exist?
FileUtils.move(source, destination) FileUtils.move(source, destination)
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