From bf8a9a88dd64e20b8d84056ae20d67fd5edcc87d Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 5 Jan 2018 17:58:27 +0800 Subject: [PATCH] buildSDK/less-bootstrap-compiler.php --- buildSDK/less-bootstrap-compiler.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/buildSDK/less-bootstrap-compiler.php b/buildSDK/less-bootstrap-compiler.php index c3adf49d15..40b698de7b 100644 --- a/buildSDK/less-bootstrap-compiler.php +++ b/buildSDK/less-bootstrap-compiler.php @@ -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; } -- 2.39.2