lib/rake/funnel/tasks/copy.rb in rake-funnel-0.0.4.pre vs lib/rake/funnel/tasks/copy.rb in rake-funnel-0.0.5.pre
- old
+ new
@@ -29,10 +29,10 @@
target = target_path(source)
dir = File.dirname(target)
RakeFileUtils.mkdir_p(dir) unless File.directory?(dir)
- RakeFileUtils.cp(source, target)
+ RakeFileUtils.cp(source, target, { preserve: true})
end
end
self
end