Skip to content

Instantly share code, notes, and snippets.

@Bockit
Created April 18, 2013 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bockit/5408958 to your computer and use it in GitHub Desktop.
Save Bockit/5408958 to your computer and use it in GitHub Desktop.
# Only compile sass per request by default, compiling requirejs is too heavy
PIPELINE_COMPILERS = (
'pipeline.compilers.sass.SASSCompiler',
)
# Path to your sass binary and any extra arguments you want to add
# We add compass to get access to their wonderful sass extentions
PIPELINE_SASS_BINARY = '/usr/bin/sass'
PIPELINE_SASS_ARGUMENTS = '--compass'
# Dict of discreet CSS files to have
# names of the config dicts are the keys, they take a tuple of source filenames,
# a template to use for the output, an output filename for post compilation and
# extra data you want to pass to the template.
PIPELINE_CSS = {
'main': {
'source_filenames': (
'sass/main.scss',
),
'output_filename': 'css/ugapp.css',
'extra_context': {
'media': 'screen,projection',
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment