2011-03-28 02:35:49 +00:00
|
|
|
# Require any additional compass plugins here.
|
|
|
|
project_type = :stand_alone
|
|
|
|
css_dir = "tmp"
|
|
|
|
sass_dir = "sass"
|
|
|
|
images_dir = "images"
|
|
|
|
output_style = :compact
|
|
|
|
# To enable relative image paths using the images_url() function:
|
|
|
|
# http_images_path = :relative
|
|
|
|
http_images_path = "/images"
|
|
|
|
line_comments = false
|
|
|
|
|
|
|
|
asset_cache_buster do |path, file|
|
|
|
|
pathname = Pathname.new(path)
|
2011-05-04 09:37:58 +00:00
|
|
|
|
|
|
|
case pathname.basename(pathname.extname).to_s
|
|
|
|
when "grid"
|
|
|
|
new_path = "%s/%s-BUSTED%s" % [pathname.dirname, pathname.basename(pathname.extname), pathname.extname]
|
|
|
|
{:path => new_path, :query => nil}
|
|
|
|
when "feed"
|
|
|
|
"query_string"
|
|
|
|
when "dk"
|
|
|
|
{:query => "query_string"}
|
|
|
|
end
|
2011-03-28 02:35:49 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
asset_host do |path|
|
|
|
|
"http://assets%d.example.com" % (path.size % 4)
|
|
|
|
end
|