Permalink
Browse files

rake update uses image-url and scss

  • Loading branch information...
1 parent 7082eea commit 21fd9add84f850b6e6d115cbab88cb45f48ed8cc @iain committed Sep 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -46,11 +46,11 @@ task :update do
threads += css.map do |file|
Thread.new do
url = File.join(base_url, "css", file)
- path = File.join(target, "stylesheets", file)
+ path = File.join(target, "stylesheets", "#{file}.scss")
File.open(path, 'w') do |t|
open url do |f|
f.each_line do |line|
- t << line.gsub(%r|url\(.+/([^/]+)\)|, "url(/assets/formalize/\\1)")
+ t << line.gsub(%r|url\(.+/([^/]+)\)|, "image-url('formalize/\\1')")
end
end
end

0 comments on commit 21fd9ad

Please sign in to comment.