Login   Register  
PHP Classes
elePHPant
Icontem

File: lessc

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Diogo Resende  >  Less.php  >  lessc  >  Download  
File: lessc
Role: Application script
Content type: text/plain
Description: LESS compiler
Class: Less.php
Parse and process Leaner CSS files
Author: By
Last change:
Date: 4 years ago
Size: 253 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php
    
require_once dirname(__FILE__) . '/lib/entities.less.class.php';

    
$less = new LessCode();
    
$less->setVariable('panes.input.select.hover.bg''XXXXXXXXXXXXXX');
    
$less->parseFile($_SERVER['argv'][1]);
    echo 
$less->output();
?>