buildSDK/less-bootstrap-compiler.php
authoredward <edward@roojs.com>
Fri, 5 Jan 2018 09:58:27 +0000 (17:58 +0800)
committeredward <edward@roojs.com>
Fri, 5 Jan 2018 09:58:27 +0000 (17:58 +0800)
buildSDK/less-bootstrap-compiler.php

index c3adf49..40b698d 100644 (file)
@@ -42,6 +42,16 @@ foreach ($files as $src => $file){
     
     $dir = "{$file['baseDir']}/{$file['sourceMapRootpath']}";
     
+    $variable = "{$dir}variables.less";
+    
+    if(file_exists($variable)){
+        echo "exist??";
+        exit;
+    }
+    
+    echo "not exist??";
+    exit;
+    
     if(filemtime("{$dir}variables.less") > filemtime($css)){
         continue;
     }