Skip to content

Instantly share code, notes, and snippets.

@pritchie
Last active December 18, 2015 11:19
Show Gist options
  • Save pritchie/5774350 to your computer and use it in GitHub Desktop.
Save pritchie/5774350 to your computer and use it in GitHub Desktop.
# minimal compass configuration and run in voldemort
Compass.configuration.images_dir = 'sprites'
Compass.configuration.css_dir = 'css'
Compass.configuration.sass_dir = 'sass'
# this takes a little while on the first pass to parse all the sprites
# subsequent passes are fast
Compass.compiler.run
# Done!
# useful commands
Compass.compiler.clean! # removes exisitng css to force a recompile
Compass.compiler.compile_if_required 'sass/sprites.scss', 'css/sprites.css' # compile only one file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment