Update composer dependencies

This commit is contained in:
Kijin Sung 2018-10-18 14:03:18 +09:00
parent 866a33fd39
commit ab195fbf3b
463 changed files with 14839 additions and 11927 deletions

View file

@ -32,6 +32,7 @@ $debugInfo = false;
$lineNumbers = false;
$ignoreErrors = false;
$encoding = false;
$sourceMap = false;
/**
* Parse argument
@ -76,7 +77,8 @@ Options include:
-i=path Set import path
--iso8859-1 Use iso8859-1 encoding instead of utf-8 (default utf-8)
--line-numbers Annotate selectors with comments referring to the source file and line number
-p=precision Set decimal number precision (default 5)
-p=precision Set decimal number precision (default 10)
--sourcemap Create source map file
-T Dump formatted parse tree
-v, --version Print the version
@ -108,6 +110,11 @@ EOT;
continue;
}
if ($argv[$i] === '--sourcemap') {
$sourceMap = true;
continue;
}
if ($argv[$i] === '-T') {
$dumpTree = true;
continue;
@ -193,6 +200,10 @@ if ($style) {
$scss->setFormatter('Leafo\\ScssPhp\\Formatter\\' . ucfirst($style));
}
if ($sourceMap) {
$scss->setSourceMap(Compiler::SOURCE_MAP_FILE);
}
if ($encoding) {
$scss->setEncoding($encoding);
}