Skip to content

Instantly share code, notes, and snippets.

@sdeluce
Created January 21, 2014 20:27
Show Gist options
  • Save sdeluce/8547715 to your computer and use it in GitHub Desktop.
Save sdeluce/8547715 to your computer and use it in GitHub Desktop.
Compass config
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "scss"
images_dir = "img"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
environment = :development #development production
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false
line_comments = false
if environment != :production
#enable_sourcemaps = true
#sass_options = {:sourcemap => true }
sass_options = { :debug_info => true }
output_style = :nested
else
output_style = :compressed
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment