mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
Add formatting libraries to composer.json
This commit is contained in:
parent
59ee4a7387
commit
2b008f7be6
202 changed files with 28022 additions and 133 deletions
23
vendor/leafo/lessphp/lessify
vendored
Normal file
23
vendor/leafo/lessphp/lessify
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/php
|
||||
<?php
|
||||
|
||||
if (php_sapi_name() != "cli") {
|
||||
err($fa.$argv[0]." must be run in the command line.");
|
||||
exit(1);
|
||||
}
|
||||
$exe = array_shift($argv); // remove filename
|
||||
|
||||
if (!$fname = array_shift($argv)) {
|
||||
exit("Usage: ".$exe." input-file\n");
|
||||
}
|
||||
|
||||
require "lessify.inc.php";
|
||||
|
||||
try {
|
||||
$parser = new lessify($fname);
|
||||
echo $parser->parse();
|
||||
} catch (exception $e) {
|
||||
exit("Fatal error: ".$e->getMessage()."\n");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue