Skip to content

Instantly share code, notes, and snippets.

@agustibr
Last active December 18, 2015 05:29
Show Gist options
  • Save agustibr/5733431 to your computer and use it in GitHub Desktop.
Save agustibr/5733431 to your computer and use it in GitHub Desktop.
draft. config.rb for compass
# http://compass-style.org/help/tutorials/configuration-reference/
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "css/img"
javascripts_dir = "js"
fonts_dir = "fonts"
environment = :production
if environment == :development
puts "Running in development mode..."
line_comments = true
sass_options = { :debug_info => true , :sourcemap => true }
output_style = :expanded
disable_warnings = false
elsif environment == :production
puts "Running in production mode..."
disable_warnings = true
output_style = :compressed
line_comments = false
else
puts "Running in an unknown mode..."
end
relative_assets = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment