buildSDK/less-bootstrap-compiler.php
authoredward <edward@roojs.com>
Thu, 30 Nov 2017 08:10:48 +0000 (16:10 +0800)
committeredward <edward@roojs.com>
Thu, 30 Nov 2017 08:10:48 +0000 (16:10 +0800)
buildSDK/less-bootstrap-compiler.php

index 5327c13..b235aa7 100644 (file)
@@ -16,30 +16,16 @@ ini_set('include_path',
 $rootDir = dirname(__FILE__) . '/../..';
 
 $files = array(
-    array(
-        'less' => array(
-            'directory' => "{$rootDir}/roojs1/less/bootstrap",
-            'name' => 'bootstrap'
-        ),
-        'css' => array(
-            'directory' => "{$rootDir}/roojs1/css-bootstrap/",
-            'name' => 'bootstrap'
-        )
+    "{$rootDir}/roojs1/less/bootstrap/bootstrap.less" => array(
+        'directory' => "{$rootDir}/roojs1/css-bootstrap/",
+        'name' => 'bootstrap'
     ),
-    array(
-        'less' => array(
-            'directory' => "{$rootDir}/roojs1/less/roojs-bootstrap",
-            'name' => 'roojs-bootstrap'
-        ),
-        'css' => array(
-            'directory' => "{$rootDir}/roojs1/css-bootstrap/",
-            'name' => 'roojs-bootstrap'
-        )
+    "{$rootDir}/roojs1/less/roojs-bootstrap/roojs-bootstrap.less" => array(
+        'directory' => "{$rootDir}/roojs1/css-bootstrap/",
+        'name' => 'roojs-bootstrap'
     )
 );
 
-print_R($files);exit;
-
 require_once 'HTML/Less.php';
         
 $less = new HTML_Less();