Signed-off-by: 唐翔蕾 <328491512@qq.com>
This commit is contained in:
唐翔蕾 2024-11-18 16:10:08 +08:00
parent 04f271bba7
commit 799b5fd295

View File

@ -183,7 +183,7 @@ class XTSUtils:
if PathUtils.isTargetContains(self._build_paths, file): if PathUtils.isTargetContains(self._build_paths, file):
continue continue
# 当前存在的最外层路径 # 当前存在的最外层路径
exist_path = PathUtils.get_current_exist(os.path.dirname(file)) exist_path = PathUtils.get_current_exist(self._xts_root_dir, os.path.dirname(file))
build_File = XTSTargetUtils.get_current_Build(self._xts_root_dir, exist_path) build_File = XTSTargetUtils.get_current_Build(self._xts_root_dir, exist_path)
# 计算到根目录或指定目录,直接编译全量 # 计算到根目录或指定目录,直接编译全量
if (os.path.dirname(build_File) == self._xts_root_dir or if (os.path.dirname(build_File) == self._xts_root_dir or