# Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved.
# Use of this source code is governed by a BSD License (see LICENSE).

from os.path import join

from .roots import PROJECT_ROOT


PIPELINE_COMPILERS = (
    'huxley.utils.pipeline.PySCSSCompiler',
    'pipeline_browserify.compiler.BrowserifyCompiler',
)

PIPELINE_CSS_COMPRESSOR = 'pipeline.compressors.cssmin.CSSMinCompressor'

PIPELINE_JS_COMPRESSOR = None

PIPELINE_CSS = {
    'huxley': {
        'source_filenames': (
            'css/*.css',
            'scss/core/*.scss',
            'scss/accounts/*.scss',
            'scss/advisors/*.scss',
            'scss/chairs/*.scss',
        ),
        'output_filename': 'css/huxley.css'
    },
}

PIPELINE_JS = {
    'huxley': {
        'source_filenames': (
            'js/huxley.browserify.js',
        ),
        'output_filename': 'js/huxley.js'
    }
}

PIPELINE_BROWSERIFY_BINARY = join(PROJECT_ROOT, 'node_modules/.bin/browserify')

PIPELINE_BROWSERIFY_ARGUMENTS = '-t reactify'

@@ -499,33 +499,8 @@
 : (%0A
-            'css/*.css',%0A
     
@@ -567,78 +567,8 @@
 s',%0A
-            'scss/advisors/*.scss',%0A            'scss/chairs/*.scss',%0A
     

Clean up file patterns in PIPELINE_CSS setting.