lib/linner.rb in linner-0.1.4 vs lib/linner.rb in linner-0.1.5
- old
+ new
@@ -58,14 +58,14 @@
mtime = File.mtime(path).to_i
if cache[path]
next if mtime == cache[path]
else
cache[path] = mtime
- logical_path = Asset.new(path).logical_path
- dest_path = File.join(environment.public_folder, dest, logical_path)
- FileUtils.mkdir_p File.dirname(dest_path)
- FileUtils.cp_r path, dest_path
end
+ logical_path = Asset.new(path).logical_path
+ dest_path = File.join(environment.public_folder, dest, logical_path)
+ FileUtils.mkdir_p File.dirname(dest_path)
+ FileUtils.cp_r path, dest_path
end
end.join
end
end
end