diff --git a/consolegen.php b/consolegen.php new file mode 100644 index 00000000..d3aeeae1 --- /dev/null +++ b/consolegen.php @@ -0,0 +1,44 @@ +setFormatter("scss_formatter_compressed"); +$fh = fopen($options['workdir'].DIRECTORY_SEPARATOR.$options['outfile'], 'w'); +fwrite($fh, $scss->compile(preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', file_get_contents($options['workdir'].DIRECTORY_SEPARATOR.$options['infile'])))); +fclose($fh); + +?>