We don't need css compressing, sass do it (thanks @nschonni!)

This commit is contained in:
Piotr Sarnacki 2013-01-19 01:12:56 +01:00
parent fbc98889b9
commit 8aade9e2ba
2 changed files with 2 additions and 9 deletions

View File

@ -71,15 +71,8 @@ end
output 'public/styles'
input assets.styles do
match '**/*.{scss,sass}' do
sass
concat [], ['app.css', 'min/app.css']
end
if assets.production?
match "min/app.css" do
yui_css :jar_file => File.expand_path('../vendor/yuicompressor-2.4.7.jar', __FILE__)
concat 'app.min.css'
end
sass assets.production? ? { style: :compressed } : nil
concat [], ['app.css']
end
end

Binary file not shown.