lib/cocoapods-jxedt/binary/helper/prebuild_sandbox.rb in cocoapods-jxedt-0.0.14 vs lib/cocoapods-jxedt/binary/helper/prebuild_sandbox.rb in cocoapods-jxedt-0.0.15
- old
+ new
@@ -109,25 +109,10 @@
end
def clean_source_project!
return if Jxedt.config.keep_source_project?
- sources_root.rmtree if sources_root.exist?
+ sources_root.rmtree if real_path_compiler? && sources_root.exist?
root.rmtree if root.exist?
- end
- end
-end
-
-module Pod
- class Installer
- # The {UserProjectIntegrator} integrates the libraries generated by
- # TargetDefinitions of the {Podfile} with their correspondent user
- # projects.
- #
- class UserProjectIntegrator
- alias_method :old_create_workspace, :create_workspace
- def create_workspace
- old_create_workspace unless sandbox.is_a?(Pod::JxedtPrebuildSandbox)
- end
end
end
end
\ No newline at end of file