X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/lib/pyscss_compiler.py diff --git a/lib/pyscss_compiler.py b/lib/pyscss_compiler.py deleted file mode 100644 index b57d59e0b..000000000 --- a/lib/pyscss_compiler.py +++ /dev/null @@ -1,19 +0,0 @@ -from os.path import dirname -from django.conf import settings -from pipeline.compilers import SubProcessCompiler - - -class PySCSSCompiler(SubProcessCompiler): - output_extension = 'css' - - def match_file(self, filename): - return filename.endswith('.scss') - - def compile_file(self, infile, outfile, outdated=False, force=False): - command = "%s %s < %s > %s" % ( - settings.PIPELINE_PYSCSS_BINARY, - settings.PIPELINE_PYSCSS_ARGUMENTS, - infile, - outfile - ) - return self.execute_command(command, cwd=dirname(infile))