buildSDK/less-bootstrap-compiler.php
[roojs1] / buildSDK / less-bootstrap-compiler.php
1 <?php
2
3 $cwd = getcwd();
4
5 if(array_pop(explode('/', $cwd)) !== 'roojs1'){
6     echo "this should be run in roojs1 directory...\n";
7     exit;
8 }
9
10  ini_set('include_path', 
11             dirname(__FILE__). '/../:' . 
12         
13             dirname(__FILE__).'/../../pear:' . 
14             ini_get('include_path'));
15
16 require_once 'HTML/Less.php';
17
18 $less = new HTML_Less();