Skip to content

Instantly share code, notes, and snippets.

@ogorzalka
Created October 8, 2012 12:30
Show Gist options
  • Save ogorzalka/3852265 to your computer and use it in GitHub Desktop.
Save ogorzalka/3852265 to your computer and use it in GitHub Desktop.
Blessc with Compass
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "assets/css"
sass_dir = "assets/compass"
images_dir = "assets/img"
javascripts_dir = "assets/js"
blessc_executable = '/usr/local/bin/blessc';
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
output_style = :expanded
# 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
# execute blessc when the stylesheet is generated
on_stylesheet_saved do |path|
system(blessc_executable+' '+path+' -f -x')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment